\phpDocumentor\Descriptor\Builder\ReflectorConstantAssembler

Assembles a ConstantDescriptor from a ConstantReflector.

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\ConstantReflector  $data) : \phpDocumentor\Descriptor\ConstantDescriptor

Creates a Descriptor from the provided data.

Parameters

\phpDocumentor\Reflection\ConstantReflector $data

Returns

\phpDocumentor\Descriptor\ConstantDescriptor

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