ArgumentAssembler
in package
extends AssemblerAbstract
Assembles an ArgumentDescriptor using an ArgumentReflector and ParamDescriptors.
Properties
$builder inherited
protected$builder : \phpDocumentor\Descriptor\ProjectDescriptorBuilder|null
- Inherited from
- \phpDocumentor\Descriptor\Builder\AssemblerAbstract
Methods
deduplicateTypes() inherited
publicstaticdeduplicateTypes(Type|null $type) : Type|null
Parameters
Returns
Type|null —
getBuilder() inherited
Returns the builder for this Assembler or null if none is set.
publicgetBuilder() : ProjectDescriptorBuilder|null
Returns
ProjectDescriptorBuilder|null —- Inherited from
- \phpDocumentor\Descriptor\Builder\AssemblerAbstract
setBuilder() inherited
Registers the Builder with this Assembler.
publicsetBuilder(ProjectDescriptorBuilder $builder) : void
The Builder may be used to recursively assemble Descriptors using the ProjectDescriptorBuilder::buildDescriptor() method.
- Inherited from
- \phpDocumentor\Descriptor\Builder\AssemblerAbstract
create() Line 31
Creates a Descriptor from the provided data.
publiccreate(Argument $data[, iterable $params = [] ]) : ArgumentDescriptor
assembleDocBlock() inherited
Assemble DocBlock.
protectedassembleDocBlock(DocBlock|null $docBlock, DescriptorAbstract $target) : void
extractPackageFromDocBlock() inherited
Extracts the package from the DocBlock.
protectedextractPackageFromDocBlock(DocBlock|null $docBlock) : string|null
Parameters
Returns
string|null —
overwriteTypeAndDescriptionFromParamTag() Line 51
Overwrites the type and description in the Argument Descriptor with that from the tag if the names match.
protectedoverwriteTypeAndDescriptionFromParamTag(Argument $argument, ParamDescriptor $paramDescriptor, ArgumentDescriptor $argumentDescriptor) : void