class Collection implements Iterator, Countable (View source)

Methods

mixed
current()

No description

void
next()

No description

mixed
key()

No description

bool
valid()

No description

void
rewind()

No description

int
count()

No description

Details

mixed current()

No description

Return Value

mixed

Can return any type.

void next()

No description

Return Value

void

Any returned value is ignored.

mixed key()

No description

Return Value

mixed

TKey on success, or null on failure.

bool valid()

No description

Return Value

bool

The return value will be casted to boolean and then evaluated. Returns true on success or false on failure.

void rewind()

No description

Return Value

void

Any returned value is ignored.

int count()

No description

Return Value

int

The custom count as an integer.

The return value is cast to an integer.