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(arrayCake\Error\Debug\ArrayItemNode> $items = [])
Constructor
Parameters
-
arrayCake\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(): arrayCake\Error\Debug\ArrayItemNode>
Get Item nodes
Returns
arrayCake\Error\Debug\ArrayItemNode>
getValue() ¶ public
getValue(): arrayCake\Error\Debug\ArrayItemNode>
Get the contained items
Returns
arrayCake\Error\Debug\ArrayItemNode>