Method | Description | |
---|---|---|
__construct ( $name, array $options, $client, Doctrine\Common\Cache\Cache $cache, |
||
create ( ) | {@inheritDoc} | |
delete ( $id ) | {@inheritDoc} | |
destroy ( ) | {@inheritDoc} | |
getProvider ( ) | ||
onMessageReceived ( Uecode\Bundle\QPushBundle\Event\MessageEvent $event ) : void | Removes the message from queue after all other listeners have fired | |
onNotification ( Uecode\Bundle\QPushBundle\Event\NotificationEvent $event, string $eventName, Symfony\Component\EventDispatcher\EventDispatcherInterface $dispatcher ) : void | Polls the Queue on Notification from IronMQ | |
publish ( array $message, array $options = [] ) : integer | {@inheritDoc} | |
publishMessages ( array $messages, array $options = [] ) : array | Publishes multiple message at once | |
queueExists ( ) : boolean | Checks whether or not the Queue exists | |
queueInfo ( ) : mixed | Get queue info | |
receive ( array $options = [] ) | {@inheritDoc} |
Method | Description | |
---|---|---|
getReservationId ( $id ) : string | null |
public __construct ( $name, array $options, $client, Doctrine\Common\Cache\Cache $cache, |
||
$options | array | |
$cache | Doctrine\Common\Cache\Cache | |
$logger |
public onMessageReceived ( Uecode\Bundle\QPushBundle\Event\MessageEvent $event ) : void | ||
$event | Uecode\Bundle\QPushBundle\Event\MessageEvent | The SQS Message Event |
return | void |
public onNotification ( Uecode\Bundle\QPushBundle\Event\NotificationEvent $event, string $eventName, Symfony\Component\EventDispatcher\EventDispatcherInterface $dispatcher ) : void | ||
$event | Uecode\Bundle\QPushBundle\Event\NotificationEvent | The Notification Event |
$eventName | string | Name of the event |
$dispatcher | Symfony\Component\EventDispatcher\EventDispatcherInterface | |
return | void |
public queueExists ( ) : boolean | ||
return | boolean |