|
| __construct () |
|
| addRoute ($method, $route, $handler) |
|
| __construct (RouteParser $routeParser, DataGenerator $dataGenerator) |
| Constructs a route collector. More...
|
|
| addRoute ($httpMethod, $route, $handler) |
| Adds a route to the collection. More...
|
|
| addGroup ($prefix, callable $callback) |
| Create a route group with a common prefix. More...
|
|
| get ($route, $handler) |
| Adds a GET route to the collection. More...
|
|
| post ($route, $handler) |
| Adds a POST route to the collection. More...
|
|
| put ($route, $handler) |
| Adds a PUT route to the collection. More...
|
|
| delete ($route, $handler) |
| Adds a DELETE route to the collection. More...
|
|
| patch ($route, $handler) |
| Adds a PATCH route to the collection. More...
|
|
| head ($route, $handler) |
| Adds a HEAD route to the collection. More...
|
|
| getData () |
| Returns the collected route data, as provided by the data generator. More...
|
|
Definition at line 95 of file RouteCollectorTest.php.
◆ __construct()
FastRoute\DummyRouteCollector::__construct |
( |
| ) |
|
◆ addRoute()
FastRoute\DummyRouteCollector::addRoute |
( |
|
$method, |
|
|
|
$route, |
|
|
|
$handler |
|
) |
| |
◆ $routes
FastRoute\DummyRouteCollector::$routes = [] |
The documentation for this class was generated from the following file: