\Guzzle\IteratorMapIterator

Maps values before yielding

Summary

Methods
Properties
Constants
__construct()
current()
No public properties found
No constants found
No protected methods found
$callback
N/A
No private methods found
No private properties found
N/A

Properties

$callback

$callback : mixed

Type

mixed — Callback

Methods

__construct()

__construct(\Traversable  $iterator, array|\Closure  $callback) 

Parameters

\Traversable $iterator

Traversable iterator

array|\Closure $callback

Callback used for iterating

Throws

\Guzzle\Common\Exception\InvalidArgumentException

if the callback if not callable

current()

current()