Class RoutingMiddleware
Applies routing rules to the request and creates the controller instance if possible.
Namespace: Cake\Routing\Middleware
Method Summary
-
__invoke() public
Method Detail
__invoke() ΒΆ public
__invoke(Psr\Http\Message\ServerRequestInterface $request, Psr\Http\Message\ResponseInterface $response, callable $next): Psr\Http\Message\ResponseInterface
Parameters
-
Psr\Http\Message\ServerRequestInterface
$request The request.
-
Psr\Http\Message\ResponseInterface
$response The response.
-
callable
$next The next middleware to call.
Returns
Psr\Http\Message\ResponseInterface