|
Moodle PHP Documentation 4.5
Moodle 4.5.5+ (Build: 20250711) (ce34e8ff087)
|
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.