PHP Class Uecode\Bundle\QPushBundle\EventListener\RequestListener

Author: Keith Kirk ([email protected])
Afficher le fichier Open project: uecode/qpush-bundle

Méthodes publiques

Méthode Description
__construct ( Symfony\Component\EventDispatcher\EventDispatcherInterface $dispatcher ) Constructor.
onKernelRequest ( GetResponseEvent $event ) Kernel Request Event Handler for QPush Notifications

Private Methods

Méthode Description
getIronMqQueueName ( GetResponseEvent $event, array &$message ) : string Get the name of the IronMq queue.
handleIronMqNotifications ( GetResponseEvent $event ) : string | void Handles Messages sent from a IronMQ Push Queue
handleSnsNotifications ( GetResponseEvent $event ) : string Handles Notifications sent from AWS SNS

Method Details

__construct() public méthode

Constructor.
public __construct ( Symfony\Component\EventDispatcher\EventDispatcherInterface $dispatcher )
$dispatcher Symfony\Component\EventDispatcher\EventDispatcherInterface A Symfony Event Dispatcher

onKernelRequest() public méthode

Kernel Request Event Handler for QPush Notifications
public onKernelRequest ( GetResponseEvent $event )
$event Symfony\Component\HttpKernel\Event\GetResponseEvent The Kernel Request's GetResponseEvent