$builder
$builder : \phpDocumentor\Descriptor\ProjectDescriptorBuilder|null
Base class for all assemblers.
$builder : \phpDocumentor\Descriptor\ProjectDescriptorBuilder|null
getBuilder() : null|\phpDocumentor\Descriptor\ProjectDescriptorBuilder
Returns the builder for this Assembler or null if none is set.
setBuilder(\phpDocumentor\Descriptor\ProjectDescriptorBuilder $builder) : void
Registers the Builder with this Assembler.
The Builder may be used to recursively assemble Descriptors using the ProjectDescriptorBuilder::buildDescriptor() method.
\phpDocumentor\Descriptor\ProjectDescriptorBuilder | $builder |
create(\phpDocumentor\Reflection\DocBlock\Tag\UsesTag $data) : \phpDocumentor\Descriptor\Tag\UsesDescriptor
Creates a new Descriptor from the given Reflector.
\phpDocumentor\Reflection\DocBlock\Tag\UsesTag | $data |
assembleDocBlock(\phpDocumentor\Reflection\DocBlock|null $docBlock, \phpDocumentor\Descriptor\DescriptorAbstract $target) : void
Assemble DocBlock.
\phpDocumentor\Reflection\DocBlock|null | $docBlock | |
\phpDocumentor\Descriptor\DescriptorAbstract | $target |
setFirstReferencePartAsType(\phpDocumentor\Reflection\DocBlock\Context $context, array<mixed,string> $referenceParts) : array
\phpDocumentor\Reflection\DocBlock\Context | $context | |
array<mixed,string> | $referenceParts |
The returned array will consist of a Collection object with the type, and strings for methods, etc.
referenceIsNamespaceAlias(string $reference, \phpDocumentor\Reflection\DocBlock\Context $context) : boolean
When you have a relative reference to a class, we need to check if this class exists in the namespace aliases
string | $reference | |
\phpDocumentor\Reflection\DocBlock\Context | $context |