Documentation

UpdateAirportsName 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.json"). Only Code, Airport needed.'

$signature

The name and signature of the console command.

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