W3cubDocs

/Symfony 2.7

Symfony\Component\Form\Util\VirtualFormAwareIterator

class VirtualFormAwareIterator extends IteratorIterator implements RecursiveIterator

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

getChildren()

{@inheritdoc}

hasChildren()

{@inheritdoc}

Details

public getChildren()

{@inheritdoc}

public hasChildren()

{@inheritdoc}

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