function LazyRouteCollection::getIterator
Same name in other branches
- 9 core/lib/Drupal/Core/Routing/LazyRouteCollection.php \Drupal\Core\Routing\LazyRouteCollection::getIterator()
- 10 core/lib/Drupal/Core/Routing/LazyRouteCollection.php \Drupal\Core\Routing\LazyRouteCollection::getIterator()
File
-
core/
lib/ Drupal/ Core/ Routing/ LazyRouteCollection.php, line 27
Class
Namespace
Drupal\Core\RoutingCode
public function getIterator() : \ArrayIterator {
return new \ArrayIterator($this->all());
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.