|
Moodle PHP Documentation 4.5
Moodle 4.5.5+ (Build: 20250711) (ce34e8ff087)
|
Public Member Functions | |
| __construct (RouteResolverInterface $routeResolver, RouteParserInterface $routeParser) | |
| performRouting (ServerRequestInterface $request) | |
| Perform routing. | |
| process (ServerRequestInterface $request, RequestHandlerInterface $handler) | |
Protected Member Functions | |
| resolveRoutingResultsFromRequest (ServerRequestInterface $request) | |
| Resolves the route from the given request. | |
Protected Attributes | |
| RouteParserInterface | $routeParser |
| RouteResolverInterface | $routeResolver |
| Slim\Middleware\RoutingMiddleware::performRouting | ( | ServerRequestInterface | $request | ) |
Perform routing.
| ServerRequestInterface | $request | PSR7 Server Request |
| HttpNotFoundException | |
| HttpMethodNotAllowedException | |
| RuntimeException |
| Slim\Middleware\RoutingMiddleware::process | ( | ServerRequestInterface | $request, |
| RequestHandlerInterface | $handler ) |
| HttpNotFoundException | |
| HttpMethodNotAllowedException | |
| RuntimeException |
Implements Psr\Http\Server\MiddlewareInterface.