|
Moodle PHP Documentation 5.0
Moodle 5.0.1+ (Build: 20250711) (61af040cd5f)
|
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.