public function ProfilerListener::onKernelRequest in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/http-kernel/EventListener/ProfilerListener.php \Symfony\Component\HttpKernel\EventListener\ProfilerListener::onKernelRequest()
Deprecated
since version 2.4, to be removed in 3.0.
File
- vendor/
symfony/ http-kernel/ EventListener/ ProfilerListener.php, line 85
Class
- ProfilerListener
- ProfilerListener collects data for the current request by listening to the kernel events.
Namespace
Symfony\Component\HttpKernel\EventListenerCode
public function onKernelRequest(GetResponseEvent $event) {
if (null === $this->requestStack) {
$this->requests[] = $event
->getRequest();
}
}