phpDocumentor\Reflection\DocBlock\Tag::setDescription PHP Method

setDescription() public method

Sets the description component of this tag.
public setDescription ( string $description )
$description string The new description component of this tag.
    public function setDescription($description)
    {
        $this->content = null;
        $this->parsedDescription = null;
        $this->description = trim($description);
        return $this;
    }