<TKey is array-key, TValue>
extends |
IteratorIterator<TKey, TValue, Traversable<TKey, TValue>> |
---|---|
implements |
FluentIteratorInterface<TKey, TValue> |
uses |
FluentIteratorTrait |
Iterates over an array or Traversable
Methods | ||
---|---|---|
public
|
__construct(iterable<TKey, TValue> $iterable)
|
# |
public
static
|
from<T0 is array-key, T1>(iterable<T0, T1> $iterable): self<T0, T1>
|
# |
public
static
|
fromValues<T>(iterable<T> $iterable): self<int, T>
|
# |
Methods inherited from IteratorIterator |
---|
getInnerIterator(), rewind(), valid(), key(), current(), next() |
Methods used from Salient\Iterator\Concern\FluentIteratorTrait |
---|
toArray(), forEach(), nextWithValue() |