class DebugPanel implements EventSubscriberInterface (View source)

Event subscriber which append a debug console after any HTML output.

Properties

protected $container

Methods

__construct(Container $container)

DebugPanel constructor.

static array
getSubscribedEvents()

No description

onKernelResponse(FilterResponseEvent $event)

No description

onKernelRequest()

Start a stopwatch event when a kernel start handling.

onControllerMatched()

Stop request-handling stopwatch event and start a new stopwatch event when a controller is instanciated.

Details

__construct(Container $container)

DebugPanel constructor.

Parameters

Container $container

static array getSubscribedEvents()

Return Value

array

onKernelResponse(FilterResponseEvent $event)

Parameters

FilterResponseEvent $event

onKernelRequest()

Start a stopwatch event when a kernel start handling.

onControllerMatched()

Stop request-handling stopwatch event and start a new stopwatch event when a controller is instanciated.