MapVehicleTypes
extends Command
in package
Table of Contents
- $chunkSize : int
- $description : string
- The console command description.
- $signature : string
- The name and signature of the console command.
- $typeMapper : TypeMapper
- __construct() : void
- Create a new command instance.
- handle() : bool
- Execute the console command.
Properties
$chunkSize
protected
int
$chunkSize
= 1000
$description
The console command description.
protected
string
$description
= 'Command description'
$signature
The name and signature of the console command.
protected
string
$signature
= 'redbook:vehicles:map-types'
$typeMapper
protected
TypeMapper
$typeMapper
Methods
__construct()
Create a new command instance.
public
__construct(TypeMapper $typeMapper) : void
Parameters
- $typeMapper : TypeMapper
Return values
void —handle()
Execute the console command.
public
handle() : bool