Метод |
Описание |
|
add ( rcrowe\Hippy\Message\MessageInterface $message ) : integer |
Add an item to the queue. |
|
count ( ) : integer |
Return the number of items currently in the queue. |
|
current ( ) : string |
Returns the current element. |
|
key ( ) : integer |
Returns the key of the current element. |
|
next ( ) : void |
Moves the current position to the next queue. |
|
offsetExists ( integer $offset ) : boolean |
Using the array interface, check whether an index in the queue exists. |
|
offsetGet ( integer $offset ) : string | null |
Using the array interface, get an item from the queue. |
|
offsetSet ( integer | null $offset, $value ) : void |
Set an index of the queue with an array interface. |
|
offsetUnset ( integer $offset ) : boolean |
Using the array interface, remove an item from the queue. |
|
remove ( integer $index = null ) : boolean |
Remove an item from the queue. |
|
rewind ( ) : void |
Rewind back to the first element in the queue. |
|
valid ( ) : boolean |
This method is called after Iterator::rewind() and Iterator::next() to check if the current position is valid. |
|