You are here

public function AuthorTag::getContent in Zircon Profile 8

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

Gets the content of this tag.

Return value

string

Overrides Tag::getContent

File

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

Class

AuthorTag
Reflection class for an @author tag in a Docblock.

Namespace

phpDocumentor\Reflection\DocBlock\Tag

Code

public function getContent() {
  if (null === $this->content) {
    $this->content = $this->authorName;
    if ('' != $this->authorEmail) {
      $this->content .= "<{$this->authorEmail}>";
    }
  }
  return $this->content;
}