PHP Class Uecode\Bundle\QPushBundle\EventListener\RequestListener

Author: Keith Kirk ([email protected])
Show file Open project: uecode/qpush-bundle

Public Methods

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

Private Methods

Method 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 method

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

onKernelRequest() public method

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