OrderedHashMapIterator

OrderedHashMapIterator

class OrderedHashMapIterator implements Iterator

Iterator for {@link OrderedHashMap} objects.

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}