Dump node for objects/class instances.
Constructor
Add a property
Get property nodes
Get the reference id
Get the class name
__construct(string $class, int $id)
Constructor
string
$class The class name
int
$id The reference id of this object in the DumpContext
addProperty(Cake\Error\Debug\PropertyNode $node): void
Add a property
Cake\Error\Debug\PropertyNode
$node The property to add.
void
getChildren(): arrayCake\Error\Debug\PropertyNode>
Get property nodes
arrayCake\Error\Debug\PropertyNode>
getId(): int
Get the reference id
int
getValue(): string
Get the class name
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