<TKey, TInput, TOutput>
extends |
IteratorIterator<TKey, TOutput, Traversable<TKey, TInput>> |
---|
Iterates over an iterator, applying a callback to values as they are returned
Methods | ||
---|---|---|
public
|
__construct(Traversable<TKey, TInput> $iterator, callable(TInput, TKey, Traversable<TKey, TInput>): TOutput $callback)
|
# |
public
|
current(): TOutput
|
# |
Methods inherited from IteratorIterator |
---|
getInnerIterator(), rewind(), valid(), key(), next() |