You are here

protected function ReturnTag::getTypesCollection 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::getTypesCollection()

Returns the type collection.

Return value

void

1 call to ReturnTag::getTypesCollection()
ReturnTag::getType in vendor/phpdocumentor/reflection-docblock/src/phpDocumentor/Reflection/DocBlock/Tag/ReturnTag.php
Returns the type section of the variable.

File

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

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

protected function getTypesCollection() {
  if (null === $this->types) {
    $this->types = new Collection(array(
      $this->type,
    ), $this->docblock ? $this->docblock
      ->getContext() : null);
  }
  return $this->types;
}