AssertTagValueNode
in package
implements
PhpDocTagValueNode
Uses
NodeAttributes
Interfaces, Classes and Traits
Table of Contents
- $description : string
- $isEquality : bool
- $isNegated : bool
- $parameter : string
- $type : TypeNode
- $attributes : array<string, mixed>
- __construct() : mixed
- __toString() : string
- getAttribute() : mixed
- hasAttribute() : bool
- setAttribute() : void
Properties
$description
public
string
$description
(may be empty)
$isEquality
public
bool
$isEquality
$isNegated
public
bool
$isNegated
$parameter
public
string
$parameter
$type
public
TypeNode
$type
$attributes
private
array<string, mixed>
$attributes
= []
Methods
__construct()
public
__construct(TypeNode $type, string $parameter, bool $isNegated, string $description[, bool $isEquality = false ]) : mixed
Parameters
- $type : TypeNode
- $parameter : string
- $isNegated : bool
- $description : string
- $isEquality : bool = false
Return values
mixed —__toString()
public
__toString() : string
Return values
string —getAttribute()
public
getAttribute(string $key) : mixed
Parameters
- $key : string
Return values
mixed —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