W3cubDocs

/Symfony 3.3

WebDebugToolbarListener

class WebDebugToolbarListener implements EventSubscriberInterface

WebDebugToolbarListener injects the Web Debug Toolbar.

The onKernelResponse method must be connected to the kernel.response event.

The WDT is only injected on well-formed HTML (with a proper