SiteDetectionMiddleware
final class SiteDetectionMiddleware implements MiddlewareInterface (View source)
This is basically a singleton which globally, at the beginning of the request, decides which Site and Content Repository is active.
Is a planned extension point; feel free to override this.
TODO: how to do reverse direction when generating links?
See {\Neos\Neos\FrontendRouting\EventSourcedFrontendNodeRoutePartHandler} documentation for a detailed explanation of the Frontend Routing process.
Properties
protected DomainRepository | $domainRepository | ||
protected SiteRepository | $siteRepository |
Methods
ResponseInterface
process(ServerRequestInterface $request, RequestHandlerInterface $handler)
No description
Details
ResponseInterface
process(ServerRequestInterface $request, RequestHandlerInterface $handler)
No description