public function LazyRouteCollection::getIterator in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony-cmf/routing/LazyRouteCollection.php \Symfony\Cmf\Component\Routing\LazyRouteCollection::getIterator()
Gets the current RouteCollection as an Iterator that includes all routes.
It implements \IteratorAggregate.
Return value
\ArrayIterator An \ArrayIterator object for iterating over routes
Overrides RouteCollection::getIterator
See also
all()
File
- vendor/
symfony-cmf/ routing/ LazyRouteCollection.php, line 35
Class
Namespace
Symfony\Cmf\Component\RoutingCode
public function getIterator() {
return new \ArrayIterator($this
->all());
}