Method |
Description |
|
__construct ( ) |
Constructs a new map |
|
count ( ) : integer |
Counts the number of live entries in the map |
|
current ( ) : mixed |
Returns the current value being iterated on in the map. |
|
key ( ) : mixed |
Returns the object serving as key in the map, at the current iterating position. |
|
next ( ) |
Advances to the next map element. |
|
offsetExists ( object $object ) : boolean |
Checks whether the passed object is referenced in the map. |
|
offsetGet ( object $object ) : mixed |
Returns the value pointed to by a certain object. |
|
offsetSet ( object $object, mixed $value ) |
Updates the map with a new key-value pair. |
|
offsetUnset ( object $object ) |
Removes an entry from the map. |
|
rewind ( ) |
Rewinds the iterator to the beginning of the map. |
|
valid ( ) : boolean |
Returns whether the iterator is still on a valid map element. |
|