Moodle PHP Documentation 5.1
Moodle 5.1dev (Build: 20250711) (9addea9f0ac)
|
RouteResolver instantiates the FastRoute dispatcher and computes the routing results of a given URI and request method. More...
Public Member Functions | |
__construct (RouteCollectorInterface $routeCollector, ?DispatcherInterface $dispatcher=null) | |
computeRoutingResults (string $uri, string $method) | |
resolveRoute (string $identifier) | |
Protected Attributes | |
RouteCollectorInterface | $routeCollector |
RouteResolver instantiates the FastRoute dispatcher and computes the routing results of a given URI and request method.
Slim\Routing\RouteResolver::computeRoutingResults | ( | string | $uri, |
string | $method ) |
string | $uri | Should be $request->getUri()->getPath() |
Implements Slim\Interfaces\RouteResolverInterface.
Slim\Routing\RouteResolver::resolveRoute | ( | string | $identifier | ) |
RuntimeException |
Implements Slim\Interfaces\RouteResolverInterface.