Свойство | Type | Description | |
---|---|---|---|
$commands |
Méthode | Description | |
---|---|---|
__construct ( ) | ||
addCommand ( string $name, array $arguments = [] ) | Create a new command and add it to the queue | |
getCommands ( ) : |
Get all commands on the queue | |
getQueueSize ( ) : integer | Returns the number of commands in the queue | |
getWork ( ) : |
Get the next command and remove it from the queue | |
purge ( ) | Purge the command queue | |
queueCommand ( |
Add a command to the queue |
public addCommand ( string $name, array $arguments = [] ) | ||
$name | string | |
$arguments | array |
public getCommands ( ) : |
||
Résultat |
public getQueueSize ( ) : integer | ||
Résultat | integer |
public queueCommand ( |
||
$command |