PHP Class Vinelab\Minion\Console\Commands\RunCommand

Author: Abed Halawi ([email protected])
Inheritance: extends Illuminate\Console\Command
Datei anzeigen Open project: vinelab/minion Class Usage Examples

Public Properties

Property Type Description
$isLaravel boolean Determine whether we're dealing with a laravel command.

Protected Properties

Property Type Description
$description string The console command description.
$name string The console command name.
$options array The available command options.

Public Methods

Method Description
fire ( ) : integer Run the command. Executed immediately.
getConfiguration ( ) : array Get the configuration from the laravel configuration file.
getOptions ( ) : array Get the console command options.

Method Details

fire() public method

Run the command. Executed immediately.
public fire ( ) : integer
return integer CLI tool exit code.

getConfiguration() public method

Get the configuration from the laravel configuration file.
public getConfiguration ( ) : array
return array

getOptions() public method

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

Property Details

$description protected_oe property

The console command description.
protected string $description
return string

$isLaravel public_oe property

Determine whether we're dealing with a laravel command.
public bool $isLaravel
return boolean

$name protected_oe property

The console command name.
protected string $name
return string

$options protected_oe property

The available command options.
Since: 1.3.3
protected array $options
return array