public function RouteCollection::__construct

Constructor.

@api

File

drupal/core/vendor/symfony/routing/Symfony/Component/Routing/RouteCollection.php, line 39

Class

RouteCollection
A RouteCollection represents a set of Route instances as a tree structure.

Namespace

Symfony\Component\Routing

Code

public function __construct() {
  $this->routes = array();
  $this->resources = array();
  $this->prefix = '';
}