ConstFetchNode
    
            
            in package
            
        
    
            
            implements
                            ConstExprNode                    
    
            
            Uses
                            NodeAttributes                    
    
        
        
    
Interfaces, Classes and Traits
Table of Contents
- $className : string
 - $name : string
 - $attributes : array<string, mixed>
 - __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
$name
    public
        string
    $name
    
    
    
    
$attributes
    private
        array<string, mixed>
    $attributes
     = []
    
    
    
Methods
__construct()
    public
                __construct(string $className, string $name) : mixed
        
        Parameters
- $className : string
 - $name : string
 
Return values
mixed —__toString()
    public
                __toString() : string
        
    
    
        Return values
string —getAttribute()
    public
                getAttribute(string $key) : mixed
    
        Parameters
- $key : string
 
Return values
mixed —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