Class ReferenceNode
Dump node for class references.
To prevent cyclic references from being output multiple times a reference node can be used after an object has been seen the first time.
Namespace: Cake\Error\Debug
Method Summary
-
__construct() public
Constructor
-
getChildren() public
Get the child nodes of this node.
-
getId() public
Get the reference id for this node.
-
getValue() public
Get the class name/value
Method Detail
__construct() ¶ public
__construct(string $class, int $id)
Constructor
Parameters
-
string
$class The class name
-
int
$id The id of the referenced class.
getChildren() ¶ public
getChildren(): Cake\Error\Debug\NodeInterface[]
Get the child nodes of this node.
Returns
Cake\Error\Debug\NodeInterface[]