Moodle PHP Documentation 5.1
Moodle 5.1dev (Build: 20250706) (a6b17d8f6bd)
Slim\Routing\Dispatcher Class Reference
Inheritance diagram for Slim\Routing\Dispatcher:
Slim\Interfaces\DispatcherInterface

Public Member Functions

 __construct (RouteCollectorInterface $routeCollector)
 
 dispatch (string $method, string $uri)
 {Get routing results for a given request method and uri.}
 
 getAllowedMethods (string $uri)
 {Get allowed methods for a given uri.
Return values
string[]
}
 

Protected Member Functions

 createDispatcher ()
 

Member Function Documentation

◆ dispatch()

Slim\Routing\Dispatcher::dispatch ( string $method,
string $uri )

{Get routing results for a given request method and uri.}

Implements Slim\Interfaces\DispatcherInterface.

◆ getAllowedMethods()

Slim\Routing\Dispatcher::getAllowedMethods ( string $uri)

{Get allowed methods for a given uri.

Return values
string[]
}

Implements Slim\Interfaces\DispatcherInterface.


The documentation for this class was generated from the following file: