public function Tag::setDescription in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/phpdocumentor/reflection-docblock/src/phpDocumentor/Reflection/DocBlock/Tag.php \phpDocumentor\Reflection\DocBlock\Tag::setDescription()
Sets the description component of this tag.
Parameters
string $description The new description component of this tag.:
Return value
$this
8 calls to Tag::setDescription()
- ExampleTag::setContent in vendor/
phpdocumentor/ reflection-docblock/ src/ phpDocumentor/ Reflection/ DocBlock/ Tag/ ExampleTag.php - Sets the content of this tag.
- LinkTag::setContent in vendor/
phpdocumentor/ reflection-docblock/ src/ phpDocumentor/ Reflection/ DocBlock/ Tag/ LinkTag.php - Sets the content of this tag.
- ParamTag::setContent in vendor/
phpdocumentor/ reflection-docblock/ src/ phpDocumentor/ Reflection/ DocBlock/ Tag/ ParamTag.php - Sets the content of this tag.
- ReturnTag::setContent in vendor/
phpdocumentor/ reflection-docblock/ src/ phpDocumentor/ Reflection/ DocBlock/ Tag/ ReturnTag.php - Sets the content of this tag.
- SeeTag::setContent in vendor/
phpdocumentor/ reflection-docblock/ src/ phpDocumentor/ Reflection/ DocBlock/ Tag/ SeeTag.php - Sets the content of this tag.
File
- vendor/
phpdocumentor/ reflection-docblock/ src/ phpDocumentor/ Reflection/ DocBlock/ Tag.php, line 282
Class
- Tag
- Parses a tag definition for a DocBlock.
Namespace
phpDocumentor\Reflection\DocBlockCode
public function setDescription($description) {
$this->content = null;
$this->parsedDescription = null;
$this->description = trim($description);
return $this;
}