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
- getController() : TypoScriptFrontendController
- getRequest() : ServerRequestInterface
- getResponse() : ResponseInterface|null
- setResponse() : void
Methods
__construct()
public
__construct(TypoScriptFrontendController $controller, ServerRequestInterface $request) : mixed
Parameters
- $controller : TypoScriptFrontendController
- $request : ServerRequestInterface
getController()
public
getController() : TypoScriptFrontendController
Return values
TypoScriptFrontendControllergetRequest()
public
getRequest() : ServerRequestInterface
Return values
ServerRequestInterfacegetResponse()
public
getResponse() : ResponseInterface|null
Return values
ResponseInterface|nullsetResponse()
public
setResponse(ResponseInterface $response) : void
Parameters
- $response : ResponseInterface