You are here

public function Description::setContent in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/phpdocumentor/reflection-docblock/src/phpDocumentor/Reflection/DocBlock/Description.php \phpDocumentor\Reflection\DocBlock\Description::setContent()

Sets the text of this description.

Parameters

string $content The new text of this description.:

Return value

$this

File

vendor/phpdocumentor/reflection-docblock/src/phpDocumentor/Reflection/DocBlock/Description.php, line 63

Class

Description
Parses a Description of a DocBlock or tag.

Namespace

phpDocumentor\Reflection\DocBlock

Code

public function setContent($content) {
  $this->contents = trim($content);
  $this->parsedContents = null;
  return $this;
}