public function RouteCollection::getParent

Gets the parent RouteCollection.

Return value

RouteCollection|null The parent RouteCollection or null when it's the root

File

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

Class

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

Namespace

Symfony\Component\Routing

Code

public function getParent() {
  return $this->parent;
}