Util\OrderedHashMapIterator (Component\Form)
Symfony\Component\Form\Util\OrderedHashMapIterator
class OrderedHashMapIterator implements Iterator
Iterator for {@link OrderedHashMap} objects.
This class is internal and should not be used.
Methods
__construct(array $elements, array $orderedKeys, array $managedCursors) Creates a new iterator. | ||
__destruct() Removes the iterator's cursors from the managed cursors of the corresponding {@link OrderedHashMap} instance. | ||
current() {@inheritdoc} | ||
next() {@inheritdoc} | ||
key() {@inheritdoc} | ||
valid() {@inheritdoc} | ||
rewind() {@inheritdoc} |
Details
public __construct(array $elements, array $orderedKeys, array $managedCursors)
Creates a new iterator.
public __destruct()
Removes the iterator's cursors from the managed cursors of the corresponding {@link OrderedHashMap} instance.
public current()
{@inheritdoc}
public next()
{@inheritdoc}
public key()
{@inheritdoc}
public valid()
{@inheritdoc}
public rewind()
{@inheritdoc}
© 2004–2016 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.0/Symfony/Component/Form/Util/OrderedHashMapIterator.html