ChangeLocale
in package
implements
MiddlewareInterface
Changes the selected locale for the current session.
Interfaces, Classes, Traits and Enums
- MiddlewareInterface
Table of Contents
- $config : mixed
- $registry : Horde_Registry
- $responseFactory : ResponseFactoryInterface
- $streamFactory : StreamFactoryInterface
- __construct() : mixed
- process() : ResponseInterface
Properties
$config
protected
mixed
$config
$registry
protected
Horde_Registry
$registry
$responseFactory
protected
ResponseFactoryInterface
$responseFactory
$streamFactory
protected
StreamFactoryInterface
$streamFactory
Methods
__construct()
public
__construct(ResponseFactoryInterface $responseFactory, StreamFactoryInterface $streamFactory, Horde_Registry $registry) : mixed
Parameters
- $responseFactory : ResponseFactoryInterface
- $streamFactory : StreamFactoryInterface
- $registry : Horde_Registry
Return values
mixed —process()
public
process(ServerRequestInterface $request, RequestHandlerInterface $handler) : ResponseInterface
Parameters
- $request : ServerRequestInterface
- $handler : RequestHandlerInterface