extends |
GraphIterator |
---|---|
implements |
MutableIterator<array-key, mixed> |
Iterates over the properties of an object or the elements of an array while allowing the current element to be replaced
Methods | ||
---|---|---|
public
|
__construct(object|mixed[] &$graph)
|
# |
public
|
replace($value)
|
# |
Methods inherited from Salient\Iterator\GraphIterator |
---|
doConstruct(), current(), key(), next(), rewind(), valid() |
Properties inherited from Salient\Iterator\GraphIterator |
---|
$Graph, $Keys, $IsObject |