Domovoy API

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

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
self

getIterator()

public getIterator() : Traversable<int<0, max>, Node>
Return values
Traversable<int<0, max>, Node>

normalizeNode()

private static normalizeNode(mixed $node) : Node
Parameters
$node : mixed
Return values
Node

        
On this page

Search results