implements |
Iterator<array-key, mixed> |
---|
Iterates over the properties of an object or the elements of an array
Methods | ||
---|---|---|
public
|
__construct(object|mixed[] $graph)
|
# |
protected
|
doConstruct(object|mixed[] &$graph): void
|
# |
public
|
current(): mixed|false
|
# |
public
|
key(): array-key|null
|
# |
public
|
next(): void
|
# |
public
|
rewind(): void
|
# |
public
|
valid(): bool
|
# |
Properties | |||
---|---|---|---|
protected
|
object|mixed[]
|
$Graph
|
# |
protected
|
array<array-key>
|
$Keys = []
|
# |
protected
|
bool
|
$IsObject = true
|
# |