AfterPageWithRootLineIsResolvedEvent
FinalYes
A PSR-14 event fired in the frontend process after a given page has been resolved with permissions, rootline etc.
This is useful to modify the page + rootline (but before the language is resolved) to direct or load content from a different page, or modify the page response if additional permissions should be checked.
Table of Contents
Methods
- __construct() : mixed
- getPageInformation() : PageInformation
- getRequest() : ServerRequestInterface
- getResponse() : ResponseInterface|null
- setPageInformation() : void
- setResponse() : void
Methods
__construct()
public
__construct(ServerRequestInterface $request, PageInformation $pageInformation) : mixed
Parameters
- $request : ServerRequestInterface
- $pageInformation : PageInformation
getPageInformation()
public
getPageInformation() : PageInformation
Return values
PageInformationgetRequest()
public
getRequest() : ServerRequestInterface
Return values
ServerRequestInterfacegetResponse()
public
getResponse() : ResponseInterface|null
Return values
ResponseInterface|nullsetPageInformation()
public
setPageInformation(PageInformation $pageInformation) : void
Parameters
- $pageInformation : PageInformation
setResponse()
public
setResponse(ResponseInterface $response) : void
Parameters
- $response : ResponseInterface