Class MapIterator
Maps values before yielding
- IteratorIterator implements Iterator, Traversable, OuterIterator
- Guzzle\Iterator\MapIterator
Methods summary
Methods detail
Parameters
- $iterator
Traversable
$iterator Traversable iterator- $callback
array|
Closure
$callback Callback used for iterating
Throws
Overrides
Overrides
Methods inherited from IteratorIterator
getInnerIterator()
,
key()
,
next()
,
rewind()
,
valid()
Magic methods summary
Properties summary
protected
mixed
|
$callback |
#
Callback |