H5Controller
in package
implements
MiddlewareInterface
H5Controller middleware
Purpose:
Wraps and runs a traditional Horde_Controller for BC
Intended to run as bottom of stack
Requires Attributes:
Sets Attributes:
Table of Contents
Interfaces
- MiddlewareInterface
Properties
- $controller : Horde_Controller
- $responseFactory : ResponseFactoryInterface
- $streamFactory : StreamFactoryInterface
Methods
- __construct() : mixed
- process() : ResponseInterface
Properties
$controller
private
Horde_Controller
$controller
$responseFactory
private
ResponseFactoryInterface
$responseFactory
$streamFactory
private
StreamFactoryInterface
$streamFactory
Methods
__construct()
public
__construct(Horde_Controller $controller, ResponseFactoryInterface $responseFactory, StreamFactoryInterface $streamFactory) : mixed
Parameters
- $controller : Horde_Controller
- $responseFactory : ResponseFactoryInterface
- $streamFactory : StreamFactoryInterface
process()
public
process(ServerRequestInterface $request, RequestHandlerInterface $handler) : ResponseInterface
Parameters
- $request : ServerRequestInterface
- $handler : RequestHandlerInterface