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

getRequest()

public getRequest() : ServerRequestInterface
Return values
ServerRequestInterface

getResponse()

public getResponse() : ResponseInterface|null
Return values
ResponseInterface|null

setResponse()

public setResponse(ResponseInterface $response) : void
Parameters
$response : ResponseInterface

        
On this page

Search results