On this page
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>
getId() public
getId(): int
Get the reference id
Returns
int
getValue() public
getValue(): string
Get the class name
Returns
string
© 2005–present The Cake Software Foundation, Inc.
Licensed under the MIT License.
CakePHP is a registered trademark of Cake Software Foundation, Inc.
We are not endorsed by or affiliated with CakePHP.
https://api.cakephp.org/4.4/class-Cake.Error.Debug.ClassNode.html