class SetLocale implements MiddlewareInterface

Properties

protected LocaleManager $locales

Methods

__construct(LocaleManager $locales)

No description

ResponseInterface
process(ServerRequestInterface $request, RequestHandlerInterface $handler)

No description

Details

__construct(LocaleManager $locales)

Parameters

LocaleManager $locales

ResponseInterface process(ServerRequestInterface $request, RequestHandlerInterface $handler)

Parameters

ServerRequestInterface $request
RequestHandlerInterface $handler

Return Value

ResponseInterface