Arango PHP ODM

IteratorTrait

Table of Contents

Methods

current()  : mixed
Return the current element
key()  : mixed
Return the key of the current element
next()  : void
Move forward to next element
rewind()  : void
Rewind the Iterator to the first element
valid()  : bool
Checks if current position is valid

Methods

current()

Return the current element

public current() : mixed

key()

Return the key of the current element

public key() : mixed

rewind()

Rewind the Iterator to the first element

public rewind() : void

valid()

Checks if current position is valid

public valid() : bool
Return values
bool

        
On this page

Search results