Moodle PHP Documentation 5.1
Moodle 5.1dev (Build: 20250706) (a6b17d8f6bd)
Slim\Routing\RouteRunner Class Reference
Inheritance diagram for Slim\Routing\RouteRunner:
Psr\Http\Server\RequestHandlerInterface

Public Member Functions

 __construct (RouteResolverInterface $routeResolver, RouteParserInterface $routeParser, ?RouteCollectorProxyInterface $routeCollectorProxy=null)
 
 handle (ServerRequestInterface $request)
 This request handler is instantiated automatically in App::__construct() It is at the very tip of the middleware queue meaning it will be executed last and it detects whether or not routing has been performed in the user defined middleware stack.
 

Member Function Documentation

◆ handle()

Slim\Routing\RouteRunner::handle ( ServerRequestInterface $request)

This request handler is instantiated automatically in App::__construct() It is at the very tip of the middleware queue meaning it will be executed last and it detects whether or not routing has been performed in the user defined middleware stack.

In the event that the user did not perform routing it is done here

Exceptions
HttpNotFoundException
HttpMethodNotAllowedException

Implements Psr\Http\Server\RequestHandlerInterface.


The documentation for this class was generated from the following file: