Property | Type | Description | |
---|---|---|---|
$cache | Doctrine\Common\Cache\Cache | Doctrine APC Cache Driver | |
$logger | Monolog Logger | ||
$name | string | QPush Queue Name | |
$options | array | QPush Queue Options |
Method | Description | |
---|---|---|
create ( ) | ||
delete ( $id ) | ||
destroy ( ) | ||
getCache ( ) | {@inheritDoc} | |
getName ( ) | {@inheritDoc} | |
getNameWithPrefix ( ) | {@inheritDoc} | |
getOptions ( ) | {@inheritDoc} | |
getProvider ( ) | ||
getlogger ( ) | {@inheritDoc} | |
log ( $level, $message, array $context = [] ) | {@inheritDoc} | |
mergeOptions ( array $options = [] ) : array | Merge override options while restricting what keys are allowed | |
onMessageReceived ( Uecode\Bundle\QPushBundle\Event\MessageEvent $event ) : boolean | ||
onNotification ( Uecode\Bundle\QPushBundle\Event\NotificationEvent $event, string $eventName, Symfony\Component\EventDispatcher\EventDispatcherInterface $dispatcher ) : boolean | ||
publish ( array $message, array $options = [] ) | ||
receive ( array $options = [] ) |
public mergeOptions ( array $options = [] ) : array | ||
$options | array | An array of options that override the queue defaults |
return | array |
public onMessageReceived ( Uecode\Bundle\QPushBundle\Event\MessageEvent $event ) : boolean | ||
$event | Uecode\Bundle\QPushBundle\Event\MessageEvent | |
return | boolean |
public onNotification ( Uecode\Bundle\QPushBundle\Event\NotificationEvent $event, string $eventName, Symfony\Component\EventDispatcher\EventDispatcherInterface $dispatcher ) : boolean | ||
$event | Uecode\Bundle\QPushBundle\Event\NotificationEvent | |
$eventName | string | Name of the event |
$dispatcher | Symfony\Component\EventDispatcher\EventDispatcherInterface | |
return | boolean |
protected Cache,Doctrine\Common\Cache $cache | ||
return | Doctrine\Common\Cache\Cache |