프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$commands |
메소드 | 설명 | |
---|---|---|
__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 getQueueSize ( ) : integer | ||
리턴 | integer |
public queueCommand ( |
||
$command |