public function DumperCollection::getIterator

Returns an iterator over the children.

Return value

\Iterator The iterator

File

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

Class

DumperCollection
Collection of routes.

Namespace

Symfony\Component\Routing\Matcher\Dumper

Code

public function getIterator() {
  return new \ArrayIterator($this->children);
}