PHP Class Aimeos\Shop\Command\SetupCommand

Inheritance: extends Aimeos\Shop\Command\AbstractCommand
Show file Open project: aimeos/aimeos-laravel

Protected Properties

Property Type Description
$description string The console command description.
$name string The console command name.

Public Methods

Method Description
fire ( ) : mixed Execute the console command.

Protected Methods

Method Description
getArguments ( ) : array Get the console command arguments.
getDbConfig ( Aimeos\MW\Config\Iface $conf ) : array Returns the database configuration from the config object.
getOptions ( ) : array Get the console command options.
setOptions ( Aimeos\MW\Config\Iface $conf ) Extracts the configuration options from the input object and updates the configuration values in the config object.

Method Details

fire() public method

Execute the console command.
public fire ( ) : mixed
return mixed

getArguments() protected method

Get the console command arguments.
protected getArguments ( ) : array
return array

getDbConfig() protected method

Returns the database configuration from the config object.
protected getDbConfig ( Aimeos\MW\Config\Iface $conf ) : array
$conf Aimeos\MW\Config\Iface Config object
return array Multi-dimensional associative list of database configuration parameters

getOptions() protected method

Get the console command options.
protected getOptions ( ) : array
return array

setOptions() protected method

Extracts the configuration options from the input object and updates the configuration values in the config object.
protected setOptions ( Aimeos\MW\Config\Iface $conf )
$conf Aimeos\MW\Config\Iface Configuration object

Property Details

$description protected property

The console command description.
protected string $description
return string

$name protected property

The console command name.
protected string $name
return string