Moodle PHP Documentation 5.1
Moodle 5.1dev (Build: 20250706) (a6b17d8f6bd)
Slim\Routing\RoutingResults Class Reference

Public Member Functions

 getAllowedMethods ()
 
 getDispatcher ()
 
 getMethod ()
 
 getRouteArguments (bool $urlDecode=true)
 
 getRouteIdentifier ()
 
 getRouteStatus ()
 
 getUri ()
 

Public Attributes

const FOUND = 1
 
$this method = $method
 
const METHOD_NOT_ALLOWED = 2
 
const NOT_FOUND = 0
 
$this routeArguments = $routeArguments
 
$this routeIdentifier = $routeIdentifier
 
$this routeStatus = $routeStatus
 
$this uri = $uri
 

Protected Attributes

DispatcherInterface $dispatcher
 
string $method
 
string $routeIdentifier = null
 
int $routeStatus
 The status is one of the constants shown above NOT_FOUND = 0 FOUND = 1 METHOD_NOT_ALLOWED = 2.
 
string $uri
 
array< string, array $routeArguments;public function __construct(DispatcherInterface $dispatcher, string $method, string $uri, int $routeStatus, ?string $routeIdentifier=null, array $routeArguments=[]) { $this-> dispatcher = $dispatcher
 string>
 

Member Function Documentation

◆ getAllowedMethods()

Slim\Routing\RoutingResults::getAllowedMethods ( )
Return values
string[]

◆ getRouteArguments()

Slim\Routing\RoutingResults::getRouteArguments ( bool $urlDecode = true)
Return values
array<string,string>

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