Symfony2 API
Class

Symfony\Component\Form\Util\VirtualFormAwareIterator

class VirtualFormAwareIterator extends ArrayIterator implements RecursiveIterator

Iterator that returns only forms from a form tree that do not inherit their parent data.

If the iterator encounters a form that inherits its parent data, it enters
the form and traverses its children as well.

Methods

__construct(array $forms)

Creates a new iterator.

getChildren()

hasChildren()

Details

at line 33
public __construct(array $forms)

Creates a new iterator.

Parameters

array $forms An array

at line 41
public getChildren()

at line 46
public hasChildren()