Class ClassNode
Dump node for objects/class instances.
Namespace: Cake\Error\Debug
Method Summary
-
__construct() public
Constructor
-
addProperty() public
Add a property
-
getChildren() public
Get property nodes
-
getId() public
Get the reference id
-
getValue() public
Get the class name
Method Detail
__construct() ¶ public
__construct(string $class, int $id)
Constructor
Parameters
-
string
$class The class name
-
int
$id The reference id of this object in the DumpContext
addProperty() ¶ public
addProperty(Cake\Error\Debug\PropertyNode $node): void
Add a property
Parameters
-
Cake\Error\Debug\PropertyNode
$node The property to add.
Returns
void
getChildren() ¶ public
getChildren(): arrayCake\Error\Debug\PropertyNode>
Get property nodes
Returns
arrayCake\Error\Debug\PropertyNode>