$builder
$builder : \phpDocumentor\Descriptor\ProjectDescriptorBuilder|null
Assembles an ClassDescriptor using an ClassReflector.
$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\ClassReflector $data) : \phpDocumentor\Descriptor\ClassDescriptor
Creates a Descriptor from the provided data.
\phpDocumentor\Reflection\ClassReflector | $data |
assembleDocBlock(\phpDocumentor\Reflection\DocBlock|null $docBlock, \phpDocumentor\Descriptor\DescriptorAbstract $target) : void
Assemble DocBlock.
\phpDocumentor\Reflection\DocBlock|null | $docBlock | |
\phpDocumentor\Descriptor\DescriptorAbstract | $target |
addConstants(array<mixed,\phpDocumentor\Reflection\ConstantReflector> $constants, \phpDocumentor\Descriptor\ClassDescriptor $classDescriptor) : void
Registers the child constants with the generated Class Descriptor.
array<mixed,\phpDocumentor\Reflection\ConstantReflector> | $constants | |
\phpDocumentor\Descriptor\ClassDescriptor | $classDescriptor |
addProperties(array<mixed,\phpDocumentor\Reflection\ClassReflector\PropertyReflector> $properties, \phpDocumentor\Descriptor\ClassDescriptor $classDescriptor) : void
Registers the child properties with the generated Class Descriptor.
array<mixed,\phpDocumentor\Reflection\ClassReflector\PropertyReflector> | $properties | |
\phpDocumentor\Descriptor\ClassDescriptor | $classDescriptor |
addMethods(array<mixed,\phpDocumentor\Reflection\ClassReflector\MethodReflector> $methods, \phpDocumentor\Descriptor\ClassDescriptor $classDescriptor) : void
Registers the child methods with the generated Class Descriptor.
array<mixed,\phpDocumentor\Reflection\ClassReflector\MethodReflector> | $methods | |
\phpDocumentor\Descriptor\ClassDescriptor | $classDescriptor |
addUses(array<mixed,string> $traits, \phpDocumentor\Descriptor\ClassDescriptor $classDescriptor) : void
Registers the used traits with the generated Class Descriptor.
array<mixed,string> | $traits | |
\phpDocumentor\Descriptor\ClassDescriptor | $classDescriptor |