class ProfilerListener implements EventSubscriberInterface
ProfilerListener collects data for the current request by listening to the kernel events.
Methods
__construct(Profiler $profiler, RequestStack $requestStack, RequestMatcherInterface $matcher = null, bool $onlyException = false, bool $onlyMasterRequests = false) Constructor.
onKernelException(GetResponseForExceptionEvent $event) Handles the onKernelException event.
onKernelResponse(FilterResponseEvent $event) Handles the