Moodle PHP Documentation 5.1
Moodle 5.1dev (Build: 20250620) (7d9030acd6e)
|
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.