Fr3nch13/CakePHP Utilities

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

$class  : string
$id  : int

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

Methods

__construct()

Constructor

public __construct(string $class, int $id) : mixed
Parameters
$class : string

The class name

$id : int

The id of the referenced class.

getId()

Get the reference id for this node.

public getId() : int
Return values
int

getValue()

Get the class name/value

public getValue() : string
Return values
string

        
On this page

Search results