public static function getSubscribedEvents() { return array(KernelEvents::REQUEST => 'onKernelRequest', KernelEvents::RESPONSE => 'onResponse'); }