Class ArrayNode
Dump node for Array values.
Namespace: Cake\Error\Debug
Method Summary
-
__construct() public
Constructor
-
add() public
Add an item
-
getChildren() public
Get Item nodes
-
getValue() public
Get the contained items
Method Detail
__construct() ¶ public
__construct(array<Cake\Error\Debug\ArrayItemNode> $items = [])
Constructor
Parameters
-
array<Cake\Error\Debug\ArrayItemNode>
$items optional The items for the array
add() ¶ public
add(Cake\Error\Debug\ArrayItemNode $node): void
Add an item
Parameters
-
Cake\Error\Debug\ArrayItemNode
$node The item to add.
Returns
void
getChildren() ¶ public
getChildren(): array<Cake\Error\Debug\ArrayItemNode>
Get Item nodes
Returns
array<Cake\Error\Debug\ArrayItemNode>
getValue() ¶ public
getValue(): array<Cake\Error\Debug\ArrayItemNode>
Get the contained items
Returns
array<Cake\Error\Debug\ArrayItemNode>