Property | Type | Description | |
---|---|---|---|
$case_sensitive | boolean | Case sensitive matching. |
Property | Type | Description | |
---|---|---|---|
$index | integer | Pointer to current route. | |
$routes | array | Mapped routes. |
Method | Description | |
---|---|---|
clear ( ) | Clears all routes in the router. | |
current ( ) : |
Gets the current route. | |
getRoutes ( ) : array | Gets mapped routes. | |
map ( string $pattern, callback $callback, boolean $pass_route = false ) | Maps a URL pattern to a callback function. | |
next ( ) : |
Gets the next route. | |
reset ( ) | Reset to the first route. | |
route ( flight\net\Request $request ) : |
Routes the current request. |
public bool $case_sensitive | ||
return | boolean |