PropertyNode
in package
implements
NodeInterface
Dump node for object properties.
Table of Contents
Interfaces
- NodeInterface
- Interface for Debugs
Properties
- $name : string
- $value : NodeInterface
- $visibility : string|null
Methods
- __construct() : mixed
- Constructor
- getChildren() : array<string|int, NodeInterface>
- Get the child nodes of this node.
- getName() : string
- Get the property name
- getValue() : NodeInterface
- Get the value
- getVisibility() : string
- Get the property visibility
Properties
$name
private
string
$name
$value
private
NodeInterface
$value
$visibility
private
string|null
$visibility
Methods
__construct()
Constructor
public
__construct(string $name, string|null $visibility, NodeInterface $value) : mixed
Parameters
- $name : string
-
The property name
- $visibility : string|null
-
The visibility of the property.
- $value : NodeInterface
-
The property value node.
getChildren()
Get the child nodes of this node.
public
getChildren() : array<string|int, NodeInterface>
Tags
Return values
array<string|int, NodeInterface>getName()
Get the property name
public
getName() : string
Return values
stringgetValue()
Get the value
public
getValue() : NodeInterface
Return values
NodeInterfacegetVisibility()
Get the property visibility
public
getVisibility() : string