ArrayItemNode
in package
implements
NodeInterface
Dump node for Array Items.
Table of Contents
Interfaces
- NodeInterface
- Interface for Debugs
Properties
Methods
- __construct() : mixed
- Constructor
- getChildren() : array<string|int, NodeInterface>
- Get the child nodes of this node.
- getKey() : NodeInterface
- Get the key
- getValue() : NodeInterface
- Get the value
Properties
$key
private
NodeInterface
$key
$value
private
NodeInterface
$value
Methods
__construct()
Constructor
public
__construct(NodeInterface $key, NodeInterface $value) : mixed
Parameters
- $key : NodeInterface
-
The node for the item key
- $value : NodeInterface
-
The node for the array value
getChildren()
Get the child nodes of this node.
public
getChildren() : array<string|int, NodeInterface>
Tags
Return values
array<string|int, NodeInterface>getKey()
Get the key
public
getKey() : NodeInterface
Return values
NodeInterfacegetValue()
Get the value
public
getValue() : NodeInterface