class Twig_TemplatePropertyObjectAndIterator

Hierarchy

Expanded class hierarchy of Twig_TemplatePropertyObjectAndIterator

File

drupal/core/vendor/twig/twig/test/Twig/Tests/TemplateTest.php, line 313

View source
class Twig_TemplatePropertyObjectAndIterator extends Twig_TemplatePropertyObject implements IteratorAggregate {
  public function getIterator() {
    return new ArrayIterator(array(
      'foo',
      'bar',
    ));
  }

}

Members