BeforePageIsResolvedEvent
FinalYes
A PSR-14 event fired before the frontend process is trying to fully resolve a given page by its page ID and the request.
Event Listeners can modify incoming parameters (such as $controller->id) or modify the context for resolving a page.
Table of Contents
Methods
- __construct() : mixed
- getPageInformation() : PageInformation
- getRequest() : ServerRequestInterface
- setPageInformation() : 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
ServerRequestInterfacesetPageInformation()
public
setPageInformation(PageInformation $pageInformation) : void
Parameters
- $pageInformation : PageInformation