implements |
Iterator |
|---|
Represents a result structure that can be iterated over, hydrating row-by-row during the iteration. An IterableResult is obtained by AbstractHydrator#iterate().
| Methods | ||
|---|---|---|
public
|
__construct(AbstractHydrator $hydrator)
|
# |
public
|
rewind(): void
|
# |
public
|
next(): mixed[]|false
|
# |
public
|
current(): mixed
|
# |
public
|
key(): int
|
# |
public
|
valid(): bool
|
# |
| Properties | |||
|---|---|---|---|
private
|
AbstractHydrator
|
$hydrator
|
# |
private
|
bool
|
$rewinded = false
|
# |
private
|
int
|
$key = -1
|
# |
private
|
mixed[]|null
|
$current = null
|
# |