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