MethodTagValueParameterNode
implements
Node
uses
NodeAttributes
Table of Contents
Interfaces
- Node
Properties
-
$defaultValue
: ConstExprNode|null
-
$isReference
: bool
-
$isVariadic
: bool
-
$parameterName
: string
-
$type
: TypeNode|null
-
$attributes
: array<string, mixed>
Methods
-
__construct()
: mixed
-
__toString()
: string
-
getAttribute()
: mixed
-
hasAttribute()
: bool
-
setAttribute()
: void
$defaultValue
public
ConstExprNode|null
$defaultValue
= null
$isReference
public
bool
$isReference
$isVariadic
public
bool
$isVariadic
$parameterName
public
string
$parameterName
$type
public
TypeNode|null
$type
= null
$attributes
private
array<string, mixed>
$attributes
= []
__construct()
public
__construct(TypeNode|null $type, bool $isReference, bool $isVariadic, string $parameterName, ConstExprNode|null $defaultValue) : mixed
Parameters
-
$type
: TypeNode|null
-
-
$isReference
: bool
-
-
$isVariadic
: bool
-
-
$parameterName
: string
-
-
$defaultValue
: ConstExprNode|null
-
__toString()
public
__toString() : string
getAttribute()
public
getAttribute(string $key) : mixed
Parameters
-
$key
: string
-
hasAttribute()
public
hasAttribute(string $key) : bool
Parameters
-
$key
: string
-
setAttribute()
public
setAttribute(string $key, mixed $value) : void
Parameters
-
$key
: string
-
-
$value
: mixed
-