BatchIterator
BatchIterator.php
:
13
Implements
Iterator
Constants¶
DEFAULT_BATCH_SIZE ¶
BatchIterator.php
:
15
|
|
Methods¶
__construct() ¶
BatchIterator.php
:
29
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$adapter | BatchIteratorAdapter | - | - |
$batchSize | int | BatchIterator::DEFAULT_BATCH_SIZE | - |
current() ¶
BatchIterator.php
:
38
|
|
key() ¶
BatchIterator.php
:
61
|
|
Return values
int
next() ¶
BatchIterator.php
:
48
|
|
rewind() ¶
BatchIterator.php
:
75
|
|
setBatchSize() ¶
BatchIterator.php
:
80
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$batchSize | int | - | - |
valid() ¶
BatchIterator.php
:
66
|
|
Return values
bool