Documentation

TemplateTagValueNode
in package
implements PhpDocTagValueNode uses NodeAttributes

Table of Contents

Interfaces

PhpDocTagValueNode

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

Methods

__construct()

public __construct(non-empty-string $name, TypeNode|null $bound, string $description[, TypeNode|null $default = null ][, TypeNode|null $lowerBound = null ]) : mixed
Parameters
$name : non-empty-string
$bound : TypeNode|null
$description : string
$default : TypeNode|null = null
$lowerBound : TypeNode|null = null

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