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

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()

Get the child nodes of this node.

Returns

\Cake\Error\Debug\NodeInterface[]

getId() public

getId()

Get the reference id for this node.

Returns

int

getValue() public

getValue()

Get the class name/value

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.ReferenceNode.html