PrepareTypoScriptFrontendRendering implements MiddlewareInterface

Read onlyYes
FinalYes

This important middleware prepares a lot of the heavy lifting.

It is all about page determination, caching, locking, various request attributes and TypoScript calculation. All these aspects depends on each other, this middleware determines if the requested page has to be fully or partially rendered, determines cache state and sets up system by adding request attributes and a setting up a couple of singletons.

Internal

this middleware might get removed later.

Table of Contents

Interfaces

MiddlewareInterface

Methods

__construct()  : mixed
process()  : ResponseInterface

Methods

__construct()

public __construct(EventDispatcherInterface $eventDispatcher, FrontendTypoScriptFactory $frontendTypoScriptFactory, PhpFrontend $typoScriptCache, FrontendInterface $pageCache, ResourceMutex $lock, Context $context, LoggerInterface $logger, ErrorController $errorController, TimeTracker $timeTracker, PageInformationFactory $pageInformationFactory) : mixed
Parameters
$eventDispatcher : EventDispatcherInterface
$frontendTypoScriptFactory : FrontendTypoScriptFactory
$typoScriptCache : PhpFrontend
$pageCache : FrontendInterface
$lock : ResourceMutex
$context : Context
$logger : LoggerInterface
$errorController : ErrorController
$timeTracker : TimeTracker
$pageInformationFactory : PageInformationFactory

process()

public process(ServerRequestInterface $request, RequestHandlerInterface $handler) : ResponseInterface
Parameters
$request : ServerRequestInterface
$handler : RequestHandlerInterface
Return values
ResponseInterface

        
On this page

Search results