TemplateTagValueNode
in package
implements
PhpDocTagValueNode
uses
NodeAttributes
Table of Contents
Interfaces
Properties
- $bound : TypeNode|null
- $default : TypeNode|null
- $description : string
- $lowerBound : TypeNode|null
- $name : non-empty-string
- $attributes : array<string, mixed>
Methods
- __construct() : mixed
- __toString() : string
- getAttribute() : mixed
- hasAttribute() : bool
- setAttribute() : void
Properties
$bound
public
TypeNode|null
$bound
$default
public
TypeNode|null
$default
$description
public
string
$description
(may be empty)
$lowerBound
public
TypeNode|null
$lowerBound
$name
public
non-empty-string
$name
$attributes
private
array<string, mixed>
$attributes
= []
Methods
__construct()
public
__construct(non-empty-string $name, TypeNode|null $bound, string $description[, TypeNode|null $default = null ][, TypeNode|null $lowerBound = null ]) : mixed
Parameters
__toString()
public
__toString() : string
Return values
stringgetAttribute()
public
getAttribute(string $key) : mixed
Parameters
- $key : string
hasAttribute()
public
hasAttribute(string $key) : bool
Parameters
- $key : string
Return values
boolsetAttribute()
public
setAttribute(string $key, mixed $value) : void
Parameters
- $key : string
- $value : mixed