|
| $app = null |
|
| $routes = [] |
|
| $beforeDispatch = "" |
|
| $afterDispatch = "" |
|
SlaxWeb\Bootstrap\Service\RouteCollection::define |
( |
| ) |
|
|
abstract |
Define Routes
This method is called when the service is registered, and can be used to add new route definitions to the internal container property.
- Returns
- void
SlaxWeb\Bootstrap\Service\RouteCollection::register |
( |
App |
$app | ) |
|
Register Service
Method called by the Pimple when registering this service. From here the 'define' method is called, and then the protected property 'routes' is iterated, and all found routes are added to the Route Container. Also exposes the received DIC to the protected property.
- Parameters
-
- Returns
- void
The documentation for this class was generated from the following file:
- /opt/slax0rDev/slaxweb/bootstrap/src/Service/RouteCollection.php