GetTranslationBase
in package
implements
MiddlewareInterface
Base Class for returning (nested) array of translatable strings.
Interfaces, Classes, Traits and Enums
- MiddlewareInterface
Table of Contents
- $registry : Horde_Registry
- $responseFactory : ResponseFactoryInterface
- $streamFactory : StreamFactoryInterface
- __construct() : mixed
- process() : ResponseInterface
- getData() : array<string|int, mixed>
Properties
$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
Return values
ResponseInterface —getData()
protected
abstract getData() : array<string|int, mixed>