UpdateHotelsBoards 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 hotelsBoards stored into database with data
from json (full route "database/data/Board-Codes.json").
Only Code and BoardName in new file.'
$signature
The name and signature of the console command.
protected
string
$signature
= 'update:hotelsBoards {file}'
Methods
__construct()
Create a new command instance.
public
__construct() : void
Return values
void —handle()
Execute the console command.
public
handle() : int