Class Iterator
- MvcCore\Ext\Models\Db\Readers\Streams\Iterator implements MvcCore\Ext\Models\Db\Readers\Streams\IIterator, Iterator, Countable
Namespace: MvcCore\Ext\Models\Db\Readers\Streams
Located at ext-model-db/src/MvcCore/Ext/Models/Db/Readers/Streams/Iterator.php
Located at ext-model-db/src/MvcCore/Ext/Models/Db/Readers/Streams/Iterator.php
public
|
#
__construct(
Internal constructor to create stream iterator. |
public
|
|
public
|
|
public
|
|
public
|
|
protected
|
|
protected
|
|
protected
|
|
protected
|
#
prepareArraysAndObjects( array & $completerArguments )
Prepare arrays or objects completer internal properties. |
protected
|
|
protected
|
|
protected
array
|
#
toInstances( integer|float|string|boolean $rawKey, array & $rawRow )
Instances result value completer. |
protected
array
|
|
protected
array
|
|
protected
array
|
|
protected
array
|
|
public
|
|
public
mixed
|
|
public
integer|float|string|boolean
|
|
public
|
|
public
boolean
|
|
public
integer
|
COMPLETER_ANY,
COMPLETER_ARRAYS,
COMPLETER_INSTANCES,
COMPLETER_OBJECTS,
COMPLETER_SCALARS
|
protected
|
$reader
Stream reader object. |
|
protected
PDOStatement
|
$providerStatement
Statement object. |
|
protected
ReflectionMethod
|
$executeMethod
Stream reader execute method to rewind iterator. |
|
protected
string
|
$completerMethod
Row completer method to complete result item. |
|
protected
stdClass
|
$completerProps
Completer local properties prepared once in constructor. |
|
protected
integer|null
|
$index
Internal iterator index. |
#
NULL
|
protected
boolean
|
$valid
Internal boolean about to continue in loop execution. |
#
FALSE
|
protected
integer|float|string|boolean|null
|
$resultKey
Result loop key from completer method. |
#
NULL
|
protected
mixed
|
$resultValue
Result loop value from completer method. |
#
NULL
|