FondResolverListener
in package
FinalYes
Attributes
- #[AsEventListener]
- $event: \Symfony\Component\HttpKernel\KernelEvents::REQUEST
- $priority: 32
Table of Contents
Constants
- DEFAULT_PAGE_PARAM = 'page'
- REQUEST_ATTRIBUTE = '_spip_fond'
Methods
- __invoke() : void
- containsForbiddenPath() : bool
- detectDefaultFond() : string
- getPageParam() : string
- resolveFond() : string
- throwForbiddenResponse() : never
Constants
DEFAULT_PAGE_PARAM
public
mixed
DEFAULT_PAGE_PARAM
= 'page'
REQUEST_ATTRIBUTE
public
mixed
REQUEST_ATTRIBUTE
= '_spip_fond'
Methods
__invoke()
public
__invoke(RequestEvent $event) : void
Parameters
- $event : RequestEvent
containsForbiddenPath()
private
containsForbiddenPath(string $fond) : bool
Parameters
- $fond : string
Return values
booldetectDefaultFond()
private
detectDefaultFond() : string
Return values
stringgetPageParam()
private
getPageParam() : string
Return values
stringresolveFond()
private
resolveFond(Request $request) : string
Parameters
- $request : Request
Return values
stringthrowForbiddenResponse()
private
throwForbiddenResponse() : never