ArrayNodeCollection
in package
implements
NodeCollection
Read onlyYes
FinalYes
Table of Contents
Interfaces
- NodeCollection
- Ordered collection of child nodes.
Properties
- $nodes : array<string|int, mixed>
Methods
- __construct() : mixed
- fromMixedList() : self
- getIterator() : Traversable<int<0, max>, Node>
- normalizeNode() : Node
Properties
$nodes
private
array<string|int, mixed>
$nodes
Methods
__construct()
public
__construct(array<int, Node> $nodes) : mixed
Parameters
- $nodes : array<int, Node>
fromMixedList()
public
static fromMixedList(array<int, mixed> $nodes) : self
Parameters
- $nodes : array<int, mixed>
Return values
selfgetIterator()
public
getIterator() : Traversable<int<0, max>, Node>
Return values
Traversable<int<0, max>, Node>normalizeNode()
private
static normalizeNode(mixed $node) : Node
Parameters
- $node : mixed