MethodTagValueNode
in package
implements
PhpDocTagValueNode
uses
NodeAttributes
Table of Contents
Interfaces
Properties
- $description : string
- $isStatic : bool
- $methodName : string
- $parameters : array<string|int, MethodTagValueParameterNode>
- $returnType : TypeNode|null
- $templateTypes : array<string|int, TemplateTagValueNode>
- $attributes : array<string, mixed>
Methods
- __construct() : mixed
- __toString() : string
- getAttribute() : mixed
- hasAttribute() : bool
- setAttribute() : void
Properties
$description
public
string
$description
(may be empty)
$isStatic
public
bool
$isStatic
$methodName
public
string
$methodName
$parameters
public
array<string|int, MethodTagValueParameterNode>
$parameters
$returnType
public
TypeNode|null
$returnType
= null
$templateTypes
public
array<string|int, TemplateTagValueNode>
$templateTypes
$attributes
private
array<string, mixed>
$attributes
= []
Methods
__construct()
public
__construct(bool $isStatic, TypeNode|null $returnType, string $methodName, array<string|int, MethodTagValueParameterNode> $parameters, string $description, array<string|int, TemplateTagValueNode> $templateTypes) : mixed
Parameters
- $isStatic : bool
- $returnType : TypeNode|null
- $methodName : string
- $parameters : array<string|int, MethodTagValueParameterNode>
- $description : string
- $templateTypes : array<string|int, TemplateTagValueNode>
__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