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

void
rewind()

No description

array
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

void rewind()

Return Value

void

Exceptions

HydrationException

array next()

Gets the next set of results.

Return Value

array

mixed current()

Return Value

mixed

int key()

Return Value

int

bool valid()

Return Value

bool