\Guzzle\IteratorChunkedIterator

Pulls out chunks from an inner iterator and yields the chunks as arrays

Summary

Methods
Properties
Constants
__construct()
rewind()
next()
current()
valid()
No public properties found
No constants found
No protected methods found
$chunkSize
$chunk
N/A
No private methods found
No private properties found
N/A

Properties

$chunkSize

$chunkSize : integer

Type

integer — Size of each chunk

$chunk

$chunk : array

Type

array — Current chunk

Methods

__construct()

__construct(\Traversable  $iterator, integer  $chunkSize) 

Parameters

\Traversable $iterator

Traversable iterator

integer $chunkSize

Size to make each chunk

Throws

\InvalidArgumentException

rewind()

rewind() 

next()

next() 

current()

current() 

valid()

valid()