implements |
Iterator |
|---|
Pre-order Iterator
Returns frames in preorder traversal order (parent then children)
| Methods | ||
|---|---|---|
public
|
__construct(Frame $root)
|
# |
public
|
rewind(): void
|
# |
public
|
valid(): bool
|
# |
public
|
key(): int
|
# |
public
|
current(): Frame
|
# |
public
|
next(): void
|
# |
| Properties | |||
|---|---|---|---|
protected
|
Frame
|
$_root
|
# |
protected
|
Frame[]
|
$_stack = []
|
# |
protected
|
int
|
$_num
|
# |