class ComponentChainMiddleware implements MiddlewareInterface (View source)

A middleware that invokes the old Http component chain and returns the final response in the component context

Properties

protected ComponentChain $componentChain
protected ComponentContext $componentContext

Methods

setComponentContext(ComponentContext $context)

No description

ResponseInterface
process(ServerRequestInterface $request, RequestHandlerInterface $handler)

No description

Details

setComponentContext(ComponentContext $context)

No description

Parameters

ComponentContext $context

ResponseInterface process(ServerRequestInterface $request, RequestHandlerInterface $handler)

No description

Parameters

ServerRequestInterface $request
RequestHandlerInterface $handler

Return Value

ResponseInterface