src/EventSubscriber/MessageEventSubscriber.php line 10

Open in your IDE?
  1. <?php
  2. namespace App\EventSubscriber;
  3. use Symfony\Component\EventDispatcher\EventSubscriberInterface;
  4. use Symfony\Component\HttpKernel\Event\RequestEvent;
  5. class MessageEventSubscriber implements EventSubscriberInterface
  6. {
  7.     public function onKernelRequest(RequestEvent $event)
  8.     {
  9.     }
  10.     public static function getSubscribedEvents()
  11.     {
  12.         return [
  13.             'kernel.request' => 'onKernelRequest',
  14.         ];
  15.     }
  16. }