EidHandler implements MiddlewareInterface
Lightweight alternative to regular frontend requests; used when $_GET[eID] is set.
In the future, logic from the EidUtility will be moved to this class, however in most cases a custom PSR-15 middleware will be better suited for whatever job the eID functionality does currently.
Table of Contents
Interfaces
- MiddlewareInterface
Properties
Methods
- __construct() : mixed
- process() : ResponseInterface
- Dispatches the request to the corresponding eID class or eID script
Properties
$dispatcher
protected
DispatcherInterface
$dispatcher
Methods
__construct()
public
__construct(DispatcherInterface $dispatcher) : mixed
Parameters
- $dispatcher : DispatcherInterface
process()
Dispatches the request to the corresponding eID class or eID script
public
process(ServerRequestInterface $request, RequestHandlerInterface $handler) : ResponseInterface
Parameters
- $request : ServerRequestInterface
- $handler : RequestHandlerInterface