Symfony\Component\HttpKernel\EventListener\ProfilerListener
ProfilerListener collects data for the current request by listening to the onKernelResponse event.
- Author: Fabien Potencier <fabien@symfony.com>
Synopsis
class ProfilerListener
implements
EventSubscriberInterface
{
- // members
- protected $profiler;
- protected $matcher;
- protected $onlyException;
- protected $onlyMasterRequests;
- protected $exception;
- protected $children;
- protected $requests;
- protected $profiles;
- // methods
- public void __construct()
- public void onKernelException()
- public void onKernelRequest()
- public void onKernelResponse()
- public static void getSubscribedEvents()
- private void saveProfiles()
Hierarchy
Members
protected
- $children
- $exception
- $matcher
- $onlyException
- $onlyMasterRequests
- $profiler
- $profiles
- $requests
Methods
private
- saveProfiles() — Saves the profile hierarchy.
public
- __construct() — Constructor.
- getSubscribedEvents()
- onKernelException() — Handles the onKernelException event.
- onKernelRequest()
- onKernelResponse() — Handles the onKernelResponse event.