|
ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Inheritance diagram for FastRoute\DummyRouteCollector:
Collaboration diagram for FastRoute\DummyRouteCollector:Public Member Functions | |
| __construct () | |
| addRoute ($method, $route, $handler) | |
| Adds a route to the collection. More... | |
Public Member Functions inherited from FastRoute\RouteCollector | |
| __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... | |
Data Fields | |
| $routes = [] | |
Additional Inherited Members | |
Protected Attributes inherited from FastRoute\RouteCollector | |
| $routeParser | |
| $dataGenerator | |
| $currentGroupPrefix | |
Definition at line 95 of file RouteCollectorTest.php.
| FastRoute\DummyRouteCollector::__construct | ( | ) |
Definition at line 99 of file RouteCollectorTest.php.
| FastRoute\DummyRouteCollector::addRoute | ( | $httpMethod, | |
| $route, | |||
| $handler | |||
| ) |
Adds a route to the collection.
The syntax used in the $route string depends on the used route parser.
| string | string[] | $httpMethod | |
| string | $route | |
| mixed | $handler |
Reimplemented from FastRoute\RouteCollector.
Definition at line 103 of file RouteCollectorTest.php.
References $handler.
| FastRoute\DummyRouteCollector::$routes = [] |
Definition at line 97 of file RouteCollectorTest.php.