You are here

private function ChainRouteCollection::createInternalCollection in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony-cmf/routing/ChainRouteCollection.php \Symfony\Cmf\Component\Routing\ChainRouteCollection::createInternalCollection()
9 calls to ChainRouteCollection::createInternalCollection()
ChainRouteCollection::add in vendor/symfony-cmf/routing/ChainRouteCollection.php
Adds a route.
ChainRouteCollection::addDefaults in vendor/symfony-cmf/routing/ChainRouteCollection.php
Adds defaults to all routes.
ChainRouteCollection::addOptions in vendor/symfony-cmf/routing/ChainRouteCollection.php
Adds options to all routes.
ChainRouteCollection::addPrefix in vendor/symfony-cmf/routing/ChainRouteCollection.php
Adds a prefix to the path of all child routes.
ChainRouteCollection::addRequirements in vendor/symfony-cmf/routing/ChainRouteCollection.php
Adds requirements to all routes.

... See full list

File

vendor/symfony-cmf/routing/ChainRouteCollection.php, line 265

Class

ChainRouteCollection

Namespace

Symfony\Cmf\Component\Routing

Code

private function createInternalCollection() {
  if (!$this->routeCollection instanceof RouteCollection) {
    $this->routeCollection = new RouteCollection();
    $this->routeCollections[] = $this->routeCollection;
  }
}