Class RouteManager
The route manager takes care of dispatching each route from an app or a module config
-
Charcoal\App\Route\RouteManager
implements
Charcoal\App\AppAwareInterface,
Charcoal\Config\ConfigurableInterface
uses
Charcoal\App\AppAwareTrait,
Charcoal\Config\ConfigurableTrait (not available)
Methods summary
public
|
#
__construct( array $data )
Manager constructor
Parameters
- $data
- The dependencies container.
|
public
|
#
setupRoutes( )
Set up the routes.
There are 3 types of routes:
- Templates
- Actions
- Scripts
|