public function Twig_Node::getIterator

File

drupal/core/vendor/twig/twig/lib/Twig/Node.php, line 223

Class

Twig_Node
Represents a node in the AST.

Code

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