Overview

Namespaces

  • Charcoal
    • App
      • Action
      • Config
      • Handler
      • Middleware
      • Module
      • Route
      • Script
      • ServiceProvider
      • Template

Classes

  • ActionRoute
  • ActionRouteConfig
  • RouteConfig
  • RouteManager
  • ScriptRoute
  • ScriptRouteConfig
  • TemplateRoute
  • TemplateRouteConfig

Interfaces

  • RouteInterface
  • Overview
  • Namespace
  • Class

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)
Namespace: Charcoal\App\Route
Located at Charcoal/App/Route/RouteManager.php
Methods summary
public
# __construct( array $data )

Manager constructor

Manager constructor

Parameters

$data
The dependencies container.
public
# setupRoutes( )

Set up the routes.

Set up the routes.

There are 3 types of routes:

  • Templates
  • Actions
  • Scripts
Methods inherited from Charcoal\App\AppAwareInterface
setApp()
Methods used from Charcoal\App\AppAwareTrait
app(), setApp()
API documentation generated by ApiGen