Method |
Description |
|
__construct ( string $name, array $options, mixed $client, Doctrine\Common\Cache\Cache $cache, Logger $logger ) |
Constructor for Provider classes |
|
create ( ) |
Creates the Queue |
|
delete ( mixed $id ) |
Deletes the Queue Message |
|
destroy ( ) : boolean |
Destroys a Queue and clears any Queue related Cache |
|
getCache ( ) : Doctrine\Common\Cache\Cache |
Returns the Cache service |
|
getLogger ( ) : Logger |
Returns the Logger service |
|
getName ( ) : string |
Returns the name of the Queue that this Provider is for |
|
getNameWithPrefix ( ) : string |
Returns the Queue Name prefixed with the QPush Prefix |
|
getOptions ( ) : array |
Returns the Provider's Configuration Options |
|
getProvider ( ) : string |
Returns the Queue Provider name |
|
log ( integer $level, string $message, array $context ) : boolean |
Logs data from the library |
|
publish ( array $message, array $options = [] ) : string |
Publishes a message to the Queue |
|
receive ( array $options = [] ) : array |
Polls the Queue for Messages |
|