public function DumperCollection::getRoot

Returns the root of the collection.

Return value

DumperCollection The root collection

File

drupal/core/vendor/symfony/routing/Symfony/Component/Routing/Matcher/Dumper/DumperCollection.php, line 89

Class

DumperCollection
Collection of routes.

Namespace

Symfony\Component\Routing\Matcher\Dumper

Code

public function getRoot() {
  return null !== $this->parent ? $this->parent
    ->getRoot() : $this;
}