W3cubDocs

/Symfony 4.1

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