ArrayNode
in package
implements
NodeInterface
Dump node for Array values.
Table of Contents
Interfaces
- NodeInterface
- Interface for Debugs
Properties
- $items : array<string|int, ArrayItemNode>
Methods
- __construct() : mixed
- Constructor
- add() : void
- Add an item
- getChildren() : array<string|int, ArrayItemNode>
- Get Item nodes
- getValue() : array<string|int, ArrayItemNode>
- Get the contained items
Properties
$items
private
array<string|int, ArrayItemNode>
$items
Methods
__construct()
Constructor
public
__construct([array<string|int, ArrayItemNode> $items = [] ]) : mixed
Parameters
- $items : array<string|int, ArrayItemNode> = []
-
The items for the array
add()
Add an item
public
add(ArrayItemNode $node) : void
Parameters
- $node : ArrayItemNode
-
The item to add.
getChildren()
Get Item nodes
public
getChildren() : array<string|int, ArrayItemNode>
Return values
array<string|int, ArrayItemNode>getValue()
Get the contained items
public
getValue() : array<string|int, ArrayItemNode>