class ResultIterator implements Iterator, Countable

External result set iterator.

Methods

__construct(Result $result)

No description

void
rewind()

Rewinds the iterator to the first element.

key()

No description

current()

No description

void
next()

Moves forward to next element.

bool
valid()

Checks if there is a current element after calls to rewind() or next().

int
count()

Required by the Countable interface.

Details

at line 30
__construct(Result $result)

No description

Parameters

Result $result

at line 39
void rewind()

Rewinds the iterator to the first element.

Return Value

void

at line 47
key()

No description

at line 58
current()

No description

at line 72
void next()

Moves forward to next element.

Return Value

void

at line 82
bool valid()

Checks if there is a current element after calls to rewind() or next().

Return Value

bool

at line 91
int count()

Required by the Countable interface.

Return Value

int

Traits

Better OOP experience.