VirtualFormAwareIterator deprecated

class VirtualFormAwareIterator extends IteratorIterator implements RecursiveIterator

deprecated

since version 2.3, to be removed in 3.0. Use {@link InheritDataAwareIterator} instead.

Iterator that traverses an array of forms.

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

__construct(Traversable $iterator)
getChildren()

{@inheritdoc}

hasChildren()

{@inheritdoc}

Details

__construct(Traversable $iterator)

Parameters

Traversable $iterator

getChildren()

{@inheritdoc}

hasChildren()

{@inheritdoc}

© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/4.0/Symfony/Component/Form/Util/VirtualFormAwareIterator.html