MiddlewareHandler
class MiddlewareHandler implements RequestHandlerInterface (View source)
A middleware stack that acts like a request handler.
Methods
__construct(RequestHandlerInterface $fallback)
MiddlewareHandler constructor.
void
push(MiddlewareInterface $middleware)
Adds a new middleware to the stack.
ResponseInterface
handle(ServerRequestInterface $request)
{@inheritdoc}