\phpDocumentor\Descriptor\Builder\Reflector\TagsReturnAssembler

Constructs a new descriptor from the Reflector for an `@return` tag.

This object will read the reflected information for the @return tag and create a \phpDocumentor\Descriptor\Tag\ReturnDescriptor object that can be used in the rest of the application and templates.

Summary

Methods
Properties
Constants
getBuilder()
setBuilder()
create()
No public properties found
No constants found
assembleDocBlock()
extractPackageFromDocBlock()
$builder
N/A
No private methods found
No private properties found
N/A

Properties

Methods

create()

create(\phpDocumentor\Reflection\DocBlock\Tag\ReturnTag  $data) : \phpDocumentor\Descriptor\Tag\ReturnDescriptor

Creates a new Descriptor from the given Reflector.

Parameters

\phpDocumentor\Reflection\DocBlock\Tag\ReturnTag $data

Returns

\phpDocumentor\Descriptor\Tag\ReturnDescriptor

assembleDocBlock()

assembleDocBlock(\phpDocumentor\Reflection\DocBlock|null  $docBlock, \phpDocumentor\Descriptor\DescriptorAbstract  $target) : void

Assemble DocBlock.

Parameters

\phpDocumentor\Reflection\DocBlock|null $docBlock
\phpDocumentor\Descriptor\DescriptorAbstract $target

extractPackageFromDocBlock()

extractPackageFromDocBlock(\phpDocumentor\Reflection\DocBlock  $docBlock) : string|null

Extracts the package from the DocBlock.

Parameters

\phpDocumentor\Reflection\DocBlock $docBlock

Returns

string|null