ReferenceNode
in package
implements
NodeInterface
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.
Table of Contents
Interfaces
- NodeInterface
- Interface for Debugs
Properties
Methods
- __construct() : mixed
- Constructor
- getChildren() : array<string|int, NodeInterface>
- Get the child nodes of this node.
- getId() : int
- Get the reference id for this node.
- getValue() : string
- Get the class name/value
Properties
$class
private
string
$class
$id
private
int
$id
Methods
__construct()
Constructor
public
__construct(string $class, int $id) : mixed
Parameters
- $class : string
-
The class name
- $id : int
-
The id of the referenced class.
getChildren()
Get the child nodes of this node.
public
getChildren() : array<string|int, NodeInterface>
Tags
Return values
array<string|int, NodeInterface>getId()
Get the reference id for this node.
public
getId() : int
Return values
intgetValue()
Get the class name/value
public
getValue() : string