Property | Type | Description | |
---|---|---|---|
$db | Database adapter | ||
$name | Name of the queue | ||
$workerId | The identifier of the worker pulling from the queue |
Method | Description | |
---|---|---|
__construct ( string $name, |
Create a queue | |
clear ( ) | ||
dequeue ( ) | ||
enqueue ( $item ) | ||
size ( ) |
public __construct ( string $name, |
||
$name | string | Name of the queue. Must be less than 256 characters. |
$db | Database adapter |