Documentation

UpdateAirlines 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 airlines stored into database with data from json (full route "database/data/Airlines-Codes-IATA.json"). Only airline_code ,airline_name and country in new file.'

$signature

The name and signature of the console command.

protected string $signature = 'update:airlines {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