Documentation

UpdateRoomTypes 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 roomTypes stored into database with data from json (full route "database/data/Roomtype-Codes.json"). Only Code and Roomtype in new file.'

$signature

The name and signature of the console command.

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