FragmentListener

FragmentListener

class FragmentListener implements EventSubscriberInterface

Handles content fragments represented by special URIs.

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.

Methods

__construct(UriSigner $signer, string $fragmentPath = '/_fragment')

Constructor.

onKernelRequest登录查看完整内容