Fr3nch13/CakePHP Utilities

ClassNode
in package
implements NodeInterface

Dump node for objects/class instances.

Table of Contents

Interfaces

NodeInterface
Interface for Debugs

Properties

$class  : string
$id  : int
$properties  : array<string|int, PropertyNode>

Methods

__construct()  : mixed
Constructor
addProperty()  : void
Add a property
getChildren()  : array<string|int, PropertyNode>
Get property nodes
getId()  : int
Get the reference id
getValue()  : string
Get the class name

Properties

Methods

__construct()

Constructor

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

The class name

$id : int

The reference id of this object in the DumpContext

getId()

Get the reference id

public getId() : int
Return values
int

getValue()

Get the class name

public getValue() : string
Return values
string

        
On this page

Search results