PrepareTypoScriptFrontendRendering
final readonly class \
- Implements
- MiddlewareInterface
Initialize TypoScript, get page content from cache if possible, lock rendering if needed and create more TypoScript data if needed.
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) : mixed
Parameters
- $eventDispatcher : EventDispatcherInterface
- $frontendTypoScriptFactory : FrontendTypoScriptFactory
- $typoScriptCache : PhpFrontend
- $pageCache : FrontendInterface
- $lock : ResourceMutex
- $context : Context
- $logger : LoggerInterface
- $errorController : ErrorController
process()
public
process(ServerRequestInterface $request, RequestHandlerInterface $handler) : ResponseInterface
Parameters
- $request : ServerRequestInterface
- $handler : RequestHandlerInterface