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.
ファイルを表示
Open project: pmjones/php-framework-benchmarks
Class Usage Examples
Protected Properties
Public Methods
Protected Methods
Method |
Description |
|
injectToolbar ( Response $response ) |
Injects the web debug toolbar into the given Response. |
|
Method Details
__construct()
public method
public __construct ( TwigEngine $templating, $interceptRedirects = false, $mode = self::ENABLED ) |
$templating |
Symfony\Bundle\TwigBundle\TwigEngine |
|
isEnabled()
public method
isVerbose()
public method
onKernelResponse()
public method
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