Interface TaskQueueInterface
Direct known implementers
Methods Summary
-
isEmpty ( )
Returns true if the queue is empty.
-
add ( callable $task )
Adds a task to the queue that will be executed the next time run is called.
-
run ( )
Execute all of the pending task in the queue.
Methods Details
boolean isEmpty ( )
Returns true if the queue is empty.
Returns
boolean |
add ( callable $task )
Adds a task to the queue that will be executed the next time run is called.
run ( )
Execute all of the pending task in the queue.