PHP Class Symfony\Bundle\WebProfilerBundle\EventListener\WebDebugToolbarListener
The onKernelResponse method must be connected to the kernel.response event.
The WDT is only injected on well-formed HTML (with a proper tag).
This means that the WDT is never included in sub-requests or ESI requests.
Afficher le fichier
Open project: pmjones/php-framework-benchmarks
Class Usage Examples
Protected Properties
Méthodes publiques
Méthodes protégées
Méthode |
Description |
|
injectToolbar ( Response $response ) |
Injects the web debug toolbar into the given Response. |
|
Method Details
__construct()
public méthode
public __construct ( TwigEngine $templating, $interceptRedirects = false, $mode = self::ENABLED ) |
$templating |
Symfony\Bundle\TwigBundle\TwigEngine |
|
isEnabled()
public méthode
isVerbose()
public méthode
onKernelResponse()
public méthode
public onKernelResponse ( FilterResponseEvent $event ) |
$event |
Symfony\Component\HttpKernel\Event\FilterResponseEvent |
|
Property Details
$interceptRedirects protected_oe property
protected $interceptRedirects |
$mode protected_oe property
$templating protected_oe property