Class \Prado\Collections\TQueueIterator
TQueueIterator class
TQueueIterator implements \Iterator interface.
TQueueIterator is used by TQueue. It allows TQueue to return a new iterator for traversing the items in the queue.
Class hierarchy
- \Prado\Collections\TQueueIterator implements Iterator
Since: 3.1
public
|
|
public
|
current() : mixed
Returns the current array item.
This method is required by the interface Iterator. |
public
|
key() : int
Returns the key of the current array item.
This method is required by the interface Iterator. |
public
|
next() : void
Moves the internal pointer to the next array item.
This method is required by the interface Iterator. |
public
|
|
public
|
valid() : bool
Returns whether there is an item at current position.
This method is required by the interface Iterator. |
|