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(
'onKernelRequestDecodePath',
200,
);
$events[KernelEvents::REQUEST][] = array(
'onKernelRequestLanguageResolve',
150,
);
$events[KernelEvents::REQUEST][] = array(
'onKernelRequestFrontPageResolve',
101,
);
$events[KernelEvents::REQUEST][] = array(
'onKernelRequestPathResolve',
100,
);
$events[KernelEvents::TERMINATE][] = array(
'onKernelTerminate',
200,
);
return $events;
}