You are here

public function ReturnTag::getContent in Zircon Profile 8.0

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

Gets the content of this tag.

Return value

string

Overrides Tag::getContent

2 methods override ReturnTag::getContent()
MethodTag::getContent in vendor/phpdocumentor/reflection-docblock/src/phpDocumentor/Reflection/DocBlock/Tag/MethodTag.php
Gets the content of this tag.
ParamTag::getContent in vendor/phpdocumentor/reflection-docblock/src/phpDocumentor/Reflection/DocBlock/Tag/ParamTag.php
Gets the content of this tag.

File

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

Class

ReturnTag
Reflection class for a @author Mike van Riel <mike.vanriel@naenius.com> @license http://www.opensource.org/licenses/mit-license.php MIT @link http://phpdoc.org

Namespace

phpDocumentor\Reflection\DocBlock\Tag

Code

public function getContent() {
  if (null === $this->content) {
    $this->content = "{$this->type} {$this->description}";
  }
  return $this->content;
}