NodeIterator
in package
implements
IteratorAggregate
FinalYes
Tags
Table of Contents
Interfaces
- IteratorAggregate
Constants
- FLAG_BLOCKS_ONLY = 1
Properties
- $blocksOnly : bool
- $node : Node
Methods
- __construct() : mixed
- getIterator() : Generator<int, Node>
Constants
FLAG_BLOCKS_ONLY
public
mixed
FLAG_BLOCKS_ONLY
= 1
Properties
$blocksOnly
private
bool
$blocksOnly
$node
private
Node
$node
Methods
__construct()
public
__construct(Node $node[, int $flags = 0 ]) : mixed
Parameters
- $node : Node
- $flags : int = 0
getIterator()
public
getIterator() : Generator<int, Node>