|
| | __construct ($httpMethod, $handler, $regex, $variables) |
| | Constructs a route (value object).
|
| |
| | matches ($str) |
| | Tests whether this route matches the given string.
|
| |
|
|
mixed | $handler |
| |
|
string file home runner work phpdoc phpdoc moodle lib nikic fast route src Route php | $httpMethod |
| |
|
string | $regex |
| |
|
array | $variables |
| |
◆ __construct()
| FastRoute\Route::__construct |
( |
| $httpMethod, |
|
|
| $handler, |
|
|
| $regex, |
|
|
| $variables ) |
Constructs a route (value object).
- Parameters
-
| string | $httpMethod | |
| mixed | $handler | |
| string | $regex | |
| array | $variables | |
◆ matches()
| FastRoute\Route::matches |
( |
| $str | ) |
|
Tests whether this route matches the given string.
- Parameters
-
- Return values
-
The documentation for this class was generated from the following file:
- lib/nikic/fast-route/src/Route.php