PHP Class Vinelab\Minion\Console\Commands\RunCommand

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

Méthodes publiques

Свойство Type Description
$isLaravel boolean Determine whether we're dealing with a laravel command.

Protected Properties

Свойство Type Description
$description string The console command description.
$name string The console command name.
$options array The available command options.

Méthodes publiques

Méthode 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 méthode

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

getConfiguration() public méthode

Get the configuration from the laravel configuration file.
public getConfiguration ( ) : array
Résultat array

getOptions() public méthode

Get the console command options.
public getOptions ( ) : array
Résultat array

Property Details

$description protected_oe property

The console command description.
protected string $description
Résultat string

$isLaravel public_oe property

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

$name protected_oe property

The console command name.
protected string $name
Résultat string

$options protected_oe property

The available command options.
Since: 1.3.3
protected array $options
Résultat array