/** * {@inheritdoc} */ public function getIterator() { if (!$this->node instanceof \IteratorAggregate) { return; } return $this->node->getIterator(); }