<TKey, TValue, TIterator is Traversable<TKey, TValue>, TReturn is TValue>
extends |
IteratorIterator<TKey, TValue, TIterator> |
---|
Iterates over an iterator, applying a callback to each value returned
Methods | ||
---|---|---|
public
|
__construct(TIterator $iterator, callable(TValue, TKey, TIterator): TReturn $callback)
|
# |
public
|
current(): TReturn
|
# |
Methods inherited from IteratorIterator |
---|
getInnerIterator(), rewind(), valid(), key(), next() |