InheritDataAwareIterator
class InheritDataAwareIterator extends IteratorIterator implements RecursiveIterator
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 \RecursiveIterator} in order to enter any child form that inherits its parent's data and iterate the children of that form as well.
Methods
getChildren() {@inheritdoc} | ||
hasChildren() {@inheritdoc} |
Details
getChildren()
{@inheritdoc}
hasChildren()
{@inheritdoc}
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/4.0/Symfony/Component/Form/Util/InheritDataAwareIterator.html