PHP 클래스 Symfony\Component\HttpKernel\EventListener\FragmentListener
All URL paths starting with /_fragment are handled as
content fragments by this listener.
If throws an AccessDeniedHttpException exception if the request
is not signed or if it is not an internal sub-request.
파일 보기
프로젝트 열기: symfony/http-kernel
1 사용 예제들
공개 메소드들
보호된 메소드들
메소드 상세
public __construct ( Symfony\Component\HttpKernel\UriSigner $signer, string $fragmentPath = '/_fragment' ) |
$signer |
Symfony\Component\HttpKernel\UriSigner |
A UriSigner instance |
$fragmentPath |
string |
The path that triggers this listener |
getSubscribedEvents()
공개 정적인 메소드
Fixes request attributes when the path is '/_fragment'.
public onKernelRequest ( GetResponseEvent $event ) |
$event |
Symfony\Component\HttpKernel\Event\GetResponseEvent |
A GetResponseEvent instance |
validateRequest()
보호된 메소드
protected validateRequest ( Request $request ) |
$request |
Symfony\Component\HttpFoundation\Request |
|