class IterableResult implements Iterator (View source)

Represents a result structure that can be iterated over, hydrating row-by-row during the iteration. An IterableResult is obtained by AbstractHydrator#iterate().

Methods

__construct(AbstractHydrator $hydrator)

No description

rewind()

No description

mixed[]|false
next()

Gets the next set of results.

mixed
current()

No description

int
key()

No description

bool
valid()

No description

Details

__construct(AbstractHydrator $hydrator)

Parameters

AbstractHydrator $hydrator

rewind()

Exceptions

HydrationException

mixed[]|false next()

Gets the next set of results.

Return Value

mixed[]|false

mixed current()

Return Value

mixed

int key()

Return Value

int

bool valid()

Return Value

bool