JavaScriptLanguageDomainProvider implements MiddlewareInterface
Read onlyYes
FinalYes
Table of Contents
Interfaces
- MiddlewareInterface
Methods
- __construct() : mixed
- process() : ResponseInterface
Methods
__construct()
public
__construct(LanguageServiceFactory $languageServiceFactory, TranslationDomainMapper $translationDomainMapper) : mixed
Parameters
- $languageServiceFactory : LanguageServiceFactory
- $translationDomainMapper : TranslationDomainMapper
process()
public
process(ServerRequestInterface $request, RequestHandlerInterface $handler) : ResponseInterface
Parameters
- $request : ServerRequestInterface
- $handler : RequestHandlerInterface