class InheritDataAwareIterator extends VirtualFormAwareIterator

Iterator that traverses an array of forms.

Contrary to \ArrayIterator, this iterator recognizes changes in the original array during iteration.

You can wrap the iterator into a {@link \RecursiveIteratorIterator} in order to enter any child form that inherits its parent's data and iterate the children of that form as well.

Methods

__construct(Traversable $iterator)

No description

getChildren()

{@inheritdoc}

hasChildren()

{@inheritdoc}

Details

__construct(Traversable $iterator)

Parameters

Traversable $iterator

getChildren()

{@inheritdoc}

hasChildren()

{@inheritdoc}