PHP Class Disque\Command\AddJob

Inheritance: extends BaseCommand, implements Disque\Command\CommandInterface, use trait Disque\Command\Argument\ArrayChecker, use trait Disque\Command\Argument\OptionChecker
Datei anzeigen Open project: mariano/disque-php

Protected Properties

Property Type Description
$availableArguments array Available command arguments, and their mapping to options
$options array Available command options

Public Methods

Method Description
getCommand ( ) : string Get command
setArguments ( array $arguments ) Set arguments for the command

Method Details

getCommand() public method

Get command
public getCommand ( ) : string
return string Command

setArguments() public method

The first two values in the $arguments array must be the queue name and the job body. The third value is optional and if present, must be an array with further arguments.
public setArguments ( array $arguments )
$arguments array Arguments

Property Details

$availableArguments protected_oe property

Available command arguments, and their mapping to options
protected array $availableArguments
return array

$options protected_oe property

Available command options
protected array $options
return array