◆ __construct()
◆ count()
Counts the number of live entries in the map
- Returns
- int
◆ current()
Returns the current value being iterated on in the map.
- Returns
- mixed
◆ key()
Returns the object serving as key in the map, at the current iterating position.
- Returns
- mixed
◆ next()
Advances to the next map element.
◆ offsetExists()
Checks whether the passed object is referenced in the map.
- Parameters
-
- Returns
- bool
◆ offsetGet()
Returns the value pointed to by a certain object.
- Parameters
-
- Returns
- mixed
◆ offsetSet()
offsetSet |
( |
|
$object, |
|
|
|
$value |
|
) |
| |
Updates the map with a new key-value pair. If the key already existed in the map, the old value is replaced with the new.
- Parameters
-
object | $object | |
mixed | $value | |
◆ offsetUnset()
Removes an entry from the map.
- Parameters
-
◆ rewind()
Rewinds the iterator to the beginning of the map.
◆ valid()
Returns whether the iterator is still on a valid map element.
- Returns
- bool
The documentation for this class was generated from the following file:
- src/spl/stubs/weakref.php