static function XHProfEventSubscriber::getSubscribedEvents in XHProf 8
File
- src/
EventSubscriber/ XHProfEventSubscriber.php, line 66
Class
- XHProfEventSubscriber
- Provides handling of start/stop for profiler.
Namespace
Drupal\xhprof\EventSubscriberCode
static function getSubscribedEvents() {
return [
KernelEvents::REQUEST => [
'onKernelRequest',
0,
],
KernelEvents::RESPONSE => [
'onKernelResponse',
0,
],
KernelEvents::TERMINATE => [
'onKernelTerminate',
0,
],
];
}