RouterMiddleware
class RouterMiddleware implements MiddlewareInterface (View source)
Routing middleware that uses router to point requests to appropriate handlers.
Methods
__construct(Router $router, ContainerInterface $container, ResponseFactoryInterface $responseFactory, StreamFactoryInterface $streamFactory)
RouterMiddleware constructor.
ResponseInterface
process(ServerRequestInterface $request, RequestHandlerInterface $handler)
{@inheritdoc}