Description
class Description
Parses a Description of a DocBlock or tag.
Properties
| protected string | $contents | ||
| protected array | $parsedContents | ||
| protected DocBlock | $docblock |
Methods
Gets the text of this description.
Sets the text of this description.
Returns the parsed text of this description.
Return a formatted variant of the Long Description using MarkDown.
Gets the docblock this tag belongs to.
Builds a string representation of this object.
Returns the long description as a string.
Details
at line 34
__construct(string $content, DocBlock $docblock = null)
Populates the fields of a description.
at line 44
string
getContents()
Gets the text of this description.
at line 56
Description
setContent(string $content)
Sets the text of this description.
at line 69
array
getParsedContents()
Returns the parsed text of this description.
at line 139
string
getFormattedContents()
Return a formatted variant of the Long Description using MarkDown.
at line 167
DocBlock
getDocBlock()
Gets the docblock this tag belongs to.
at line 178
Description
setDocBlock(DocBlock $docblock = null)
Sets the docblock this tag belongs to.
at line 197
static void
export()
Builds a string representation of this object.
at line 206
string
__toString()
Returns the long description as a string.