Documentation

UpdateAirports extends Command

Table of Contents

$description  : string
The console command description.
$signature  : string
The name and signature of the console command.
__construct()  : void
Create a new command instance.
handle()  : int
Execute the console command.

Properties

$description

The console command description.

protected string $description = 'Updates airports stored into database with data from json (full route "database/data/Airport-Codes-IATA.json"). Only IATA_Code, Airport_Name, ISO_Country_Code, ISO_Region_Code and GPS_Coordinates in new file.'

$signature

The name and signature of the console command.

protected string $signature = 'update:airports {file}'

Methods

__construct()

Create a new command instance.

public __construct() : void
Return values
void

handle()

Execute the console command.

public handle() : int
Return values
int

Search results