PHP 클래스 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.
파일 보기
프로젝트 열기: pmjones/php-framework-benchmarks
1 사용 예제들
보호된 프로퍼티들
공개 메소드들
보호된 메소드들
메소드 |
설명 |
|
injectToolbar ( Response $response ) |
Injects the web debug toolbar into the given Response. |
|
메소드 상세
public __construct ( TwigEngine $templating, $interceptRedirects = false, $mode = self::ENABLED ) |
$templating |
Symfony\Bundle\TwigBundle\TwigEngine |
|
onKernelResponse()
공개 메소드
public onKernelResponse ( FilterResponseEvent $event ) |
$event |
Symfony\Component\HttpKernel\Event\FilterResponseEvent |
|
프로퍼티 상세
$interceptRedirects 보호되어 있는 프로퍼티
protected $interceptRedirects |