ParamTagValueNode
in package
implements
PhpDocTagValueNode
uses
NodeAttributes
Table of Contents
Interfaces
Properties
- $description : string
- $isReference : bool
- $isVariadic : bool
- $parameterName : string
- $type : TypeNode
- $attributes : array<string, mixed>
Methods
- __construct() : mixed
- __toString() : string
- getAttribute() : mixed
- hasAttribute() : bool
- setAttribute() : void
Properties
$description
public
string
$description
(may be empty)
$isReference
public
bool
$isReference
$isVariadic
public
bool
$isVariadic
$parameterName
public
string
$parameterName
$type
public
TypeNode
$type
$attributes
private
array<string, mixed>
$attributes
= []
Methods
__construct()
public
__construct(TypeNode $type, bool $isVariadic, string $parameterName, string $description, bool $isReference) : mixed
Parameters
- $type : TypeNode
- $isVariadic : bool
- $parameterName : string
- $description : string
- $isReference : bool
__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