|
string const | ROUTE_GROUP_API = '/api/rest/v2' |
| The route path prefix to use for API calls.
|
|
◆ configure_routes()
core\router\route_loader_interface::configure_routes |
( |
App | $app | ) |
|
Configure all routes for the Application.
This method returns a set of RouteGroupInterface instances for each route prefix.
- Parameters
-
App | $app | The application to configure routes for |
- Return values
-
RouteInterface[]|RouteGroupInterface | |
Implemented in core\router\route_loader, and core\tests\router\mocking_route_loader.
The documentation for this interface was generated from the following file:
- lib/classes/router/route_loader_interface.php