Throws
extends TagWithType
in package
FinalYes
Reflection class for a {@}throws tag in a Docblock.
Table of Contents
Properties
- $description : Description|null
- $name : string
- $type : Type|null
Methods
- __construct() : mixed
- __toString() : string
- create() : Tag|mixed
- getDescription() : Description|null
- getName() : string
- Gets the name of this tag.
- getType() : Type|null
- Returns the type section of the variable.
- render() : string
Properties
$description
protected
Description|null
$description
= null
Description of the tag.
$name
protected
string
$name
= ''
Name of the tag
$type
protected
Type|null
$type
= null
Methods
__construct()
public
__construct(Type $type[, Description|null $description = null ]) : mixed
Parameters
- $type : Type
- $description : Description|null = null
__toString()
public
__toString() : string
Return values
stringcreate()
public
final static create(string $body) : Tag|mixed
Parameters
- $body : string
Return values
Tag|mixed —Class that implements Tag
getDescription()
public
getDescription() : Description|null
Return values
Description|nullgetName()
Gets the name of this tag.
public
getName() : string
Return values
string —The name of this tag.
getType()
Returns the type section of the variable.
public
getType() : Type|null
Return values
Type|nullrender()
public
render([Formatter|null $formatter = null ]) : string
Parameters
- $formatter : Formatter|null = null