Class AppendIterator
AppendIterator that is not affected by https://bugs.php.net/bug.php?id=49104
- IteratorIterator implements Iterator, Traversable, OuterIterator
-
AppendIterator
-
Guzzle\Iterator\AppendIterator
Methods summary
-
publicappend ( Iterator $iterator )Works around the bug in which PHP calls rewind() and next() when appending
Methods detail
Works around the bug in which PHP calls rewind() and next() when appending
Parameters
- $iterator
Iterator
$iterator Iterator to append
Overrides
Methods inherited from AppendIterator
__construct(),
current(),
getArrayIterator(),
getInnerIterator(),
getIteratorIndex(),
key(),
next(),
rewind(),
valid()