Property | Type | Description | |
---|---|---|---|
$caches |
Method | Description | |
---|---|---|
pop ( string $queueName ) : Swarrot\Broker\Message | null | Get the next message in line. Or nothing if there is no more in the cache. | |
push ( string $queueName, Swarrot\Broker\Message $message ) | Pushes a message to the end of the cache. |
Method | Description | |
---|---|---|
get ( string $queueName ) : SplQueue | Create the queue cache internally if it doesn't yet exists. |