Reflection class for a @param tag in a Docblock.
Methods
Parses a tag and populates the member variables.
__construct(string $type, string $content)
Parameters
$type
stringTag identifier for this tag (should be 'return')
$content
stringContents for this tag.
Exceptions
Returns the exported information (we should use the export static method
BUT this throws an exception at this point).
__toString() : void
Inherited
| inherited_from |
\phpDocumentor_Reflection_DocBlock_Tag::__toString() |
Factory method responsible for instantiating the correct sub type.
createInstance(string $tag_line) : \phpDocumentor_Reflection_DocBlock_Tag
Inherited
| inherited_from |
\phpDocumentor_Reflection_DocBlock_Tag::createInstance() |
Parameters
$tag_line
stringThe text for this tag, including description.
Exceptions
Returns
Builds a string representation of this object.
export() : void
Inherited
| inherited_from |
\phpDocumentor_Reflection_DocBlock_Tag::export() |
Returns the content of this tag.
getContent() : string
Inherited
| inherited_from |
\phpDocumentor_Reflection_DocBlock_Tag::getContent() |
Returns
string
Returns the description component of this tag.
getDescription() : string
Inherited
| inherited_from |
\phpDocumentor_Reflection_DocBlock_Tag::getDescription() |
Returns
string
Get the line number of the tag
getLineNumber() : int
Inherited
| inherited_from |
\phpDocumentor_Reflection_DocBlock_Tag::getLineNumber() |
Returns
inttag line number
Returns the name of this tag.
getName() : string
Inherited
| inherited_from |
\phpDocumentor_Reflection_DocBlock_Tag::getName() |
Returns
string
Returns the type section of the variable.
getType() : string
Returns the unique types of the variable.
getTypes() : \string[]
Returns the variable's name.
getVariableName() : string
Inject the docblock class
setDocBlock(phpDocumentor_Reflection_DocBlockedAbstract $docblock) : void
Inherited
This exposes some common functionality contained in the docblock abstract.
| inherited_from |
\phpDocumentor_Reflection_DocBlock_Tag::setDocBlock() |
Parameters
Set the tag line number
setLineNumber(int $number) : void
Inherited
| inherited_from |
\phpDocumentor_Reflection_DocBlock_Tag::setLineNumber() |
Parameters
$number
intthe line number of the tag
Sets the variable's name.
setVariableName(string $name) : void
Parameters
$name
stringThe new name for this variable.
Properties
content of the tag
$content : string
Inherited
| inherited_from |
\phpDocumentor_Reflection_DocBlock_Tag::$$content |
description of the content of this tag
$description : string
Inherited
| inherited_from |
\phpDocumentor_Reflection_DocBlock_Tag::$$description |
line number of the tag
$line_number : int
Inherited
| inherited_from |
\phpDocumentor_Reflection_DocBlock_Tag::$$line_number |
Name of the tag
$tag : string
Inherited
| inherited_from |
\phpDocumentor_Reflection_DocBlock_Tag::$$tag |
$variableName
$variableName : string