You are here

public function Twig_Node::getIterator in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/twig/twig/lib/Twig/Node.php \Twig_Node::getIterator()

File

vendor/twig/twig/lib/Twig/Node.php, line 227

Class

Twig_Node
Represents a node in the AST.

Code

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