W3cubDocs

/CakePHP 4.1

Class ClassNode

Dump node for objects/class instances.

Namespace: Cake\Error\Debug

Method Summary

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)

Add a property

Parameters

\Cake\Error\Debug\PropertyNode $node

The property to add.

getChildren() public

getChildren()

Get property nodes

Returns

\Cake\Error\Debug\PropertyNode[]

getId() public

getId()

Get the reference id

Returns

int

getValue() public

getValue()

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.1/class-Cake.Error.Debug.ClassNode.html