You are here

public function DumperCollection::getIterator in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/routing/Matcher/Dumper/DumperCollection.php \Symfony\Component\Routing\Matcher\Dumper\DumperCollection::getIterator()

Returns an iterator over the children.

Return value

\Iterator The iterator

File

vendor/symfony/routing/Matcher/Dumper/DumperCollection.php, line 81

Class

DumperCollection
Collection of routes.

Namespace

Symfony\Component\Routing\Matcher\Dumper

Code

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