$builder
$builder : \phpDocumentor\Descriptor\ProjectDescriptorBuilder|null
Assembles an ArgumentDescriptor using an ArgumentReflector and ParamDescriptors.
$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\FunctionReflector\ArgumentReflector $data, array<mixed,\phpDocumentor\Descriptor\Tag\ParamDescriptor> $params = array()) : \phpDocumentor\Descriptor\ArgumentDescriptor
Creates a Descriptor from the provided data.
\phpDocumentor\Reflection\FunctionReflector\ArgumentReflector | $data | |
array<mixed,\phpDocumentor\Descriptor\Tag\ParamDescriptor> | $params |
assembleDocBlock(\phpDocumentor\Reflection\DocBlock|null $docBlock, \phpDocumentor\Descriptor\DescriptorAbstract $target) : void
Assemble DocBlock.
\phpDocumentor\Reflection\DocBlock|null | $docBlock | |
\phpDocumentor\Descriptor\DescriptorAbstract | $target |
overwriteTypeAndDescriptionFromParamTag(\phpDocumentor\Reflection\FunctionReflector\ArgumentReflector $argument, \phpDocumentor\Descriptor\Tag\ParamDescriptor $paramDescriptor, \phpDocumentor\Descriptor\ArgumentDescriptor $argumentDescriptor) : void
Overwrites the type and description in the Argument Descriptor with that from the tag if the names match.
\phpDocumentor\Reflection\FunctionReflector\ArgumentReflector | $argument | |
\phpDocumentor\Descriptor\Tag\ParamDescriptor | $paramDescriptor | |
\phpDocumentor\Descriptor\ArgumentDescriptor | $argumentDescriptor |