Registers the methods in this class that should be listeners.
array An array of event listener definitions.
Overrides EventSubscriberInterface::getSubscribedEvents
static function getSubscribedEvents() {
$events[KernelEvents::REQUEST][] = array(
'onKernelRequestAccessCheck',
30,
);
// Setting very low priority to ensure access checks are run after alters.
$events[RoutingEvents::ALTER][] = array(
'onRoutingRouteAlterSetAccessCheck',
0,
);
return $events;
}