You are here

public function Tag::getParsedDescription in Zircon Profile 8.0

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

Gets the parsed text of this description.

Return value

array An array of strings and tag objects, in the order they occur within the description.

File

vendor/phpdocumentor/reflection-docblock/src/phpDocumentor/Reflection/DocBlock/Tag.php, line 297

Class

Tag
Parses a tag definition for a DocBlock.

Namespace

phpDocumentor\Reflection\DocBlock

Code

public function getParsedDescription() {
  if (null === $this->parsedDescription) {
    $description = new Description($this->description, $this->docblock);
    $this->parsedDescription = $description
      ->getParsedContents();
  }
  return $this->parsedDescription;
}