InheritDataAwareIterator

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/3.3/Symfony/Component/Form/Util/InheritDataAwareIterator.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部