class ResolveRoute implements MiddlewareInterface

Properties

protected $dispatcher

Methods

__construct(RouteCollection $routes)

No description

ResponseInterface
process(ServerRequestInterface $request, RequestHandlerInterface $handler)

<p>Resolve the given request from our route collection.</p>

GroupCountBased
getDispatcher()

No description

Details

__construct(RouteCollection $routes)

Parameters

RouteCollection $routes

ResponseInterface process(ServerRequestInterface $request, RequestHandlerInterface $handler)

<p>Resolve the given request from our route collection.</p>

Parameters

ServerRequestInterface $request
RequestHandlerInterface $handler

Return Value

ResponseInterface

Exceptions

MethodNotAllowedException
RouteNotFoundException

protected GroupCountBased getDispatcher()

Return Value

GroupCountBased