AfterPageAndLanguageIsResolvedEvent
FinalYes
A PSR-14 event fired in the frontend process after a given page has been resolved including its language.
This event is intended to e.g. modify TYPO3's language resolving logic by custom additions. This event also allows to send a custom Response via Event Listeners (e.g. a custom 403 response)
Table of Contents
Methods
- __construct() : mixed
- getController() : TypoScriptFrontendController
- getRequest() : ServerRequestInterface
- getResponse() : ResponseInterface|null
- setResponse() : void
Methods
__construct()
public
__construct(TypoScriptFrontendController $controller, ServerRequestInterface $request, ResponseInterface|null $response) : mixed
Parameters
- $controller : TypoScriptFrontendController
- $request : ServerRequestInterface
- $response : ResponseInterface|null
getController()
public
getController() : TypoScriptFrontendController
Return values
TypoScriptFrontendControllergetRequest()
public
getRequest() : ServerRequestInterface
Return values
ServerRequestInterfacegetResponse()
public
getResponse() : ResponseInterface|null
Return values
ResponseInterface|nullsetResponse()
public
setResponse(ResponseInterface|null $response) : void
Parameters
- $response : ResponseInterface|null