Documentation

ConstFetchNode
in package
implements ConstExprNode Uses NodeAttributes

Table of Contents

Interfaces

ConstExprNode

Properties

$className  : string
$name  : string
$attributes  : array<string, mixed>

Methods

__construct()  : mixed
__toString()  : string
getAttribute()  : mixed
hasAttribute()  : bool
setAttribute()  : void

Properties

$className

public string $className

class name for class constants or empty string for non-class constants

Methods

__construct()

public __construct(string $className, string $name) : mixed
Parameters
$className : string
$name : string

getAttribute()

public getAttribute(string $key) : mixed
Parameters
$key : string

hasAttribute()

public hasAttribute(string $key) : bool
Parameters
$key : string
Return values
bool

setAttribute()

public setAttribute(string $key, mixed $value) : void
Parameters
$key : string
$value : mixed

        
On this page

Search results