$builder
$builder : \phpDocumentor\Descriptor\ProjectDescriptorBuilder|null
Assembles an TraitDescriptor using an TraitReflector.
$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\TraitReflector $data) : \phpDocumentor\Descriptor\TraitDescriptor
Creates a Descriptor from the provided data.
\phpDocumentor\Reflection\TraitReflector | $data |
assembleDocBlock(\phpDocumentor\Reflection\DocBlock|null $docBlock, \phpDocumentor\Descriptor\DescriptorAbstract $target) : void
Assemble DocBlock.
\phpDocumentor\Reflection\DocBlock|null | $docBlock | |
\phpDocumentor\Descriptor\DescriptorAbstract | $target |
addProperties(array<mixed,\phpDocumentor\Reflection\ClassReflector\PropertyReflector> $properties, \phpDocumentor\Descriptor\TraitDescriptor $traitDescriptor) : void
Registers the child properties with the generated Trait Descriptor.
array<mixed,\phpDocumentor\Reflection\ClassReflector\PropertyReflector> | $properties | |
\phpDocumentor\Descriptor\TraitDescriptor | $traitDescriptor |
addMethods(array<mixed,\phpDocumentor\Reflection\ClassReflector\MethodReflector> $methods, \phpDocumentor\Descriptor\TraitDescriptor $traitDescriptor) : void
Registers the child methods with the generated Trait Descriptor.
array<mixed,\phpDocumentor\Reflection\ClassReflector\MethodReflector> | $methods | |
\phpDocumentor\Descriptor\TraitDescriptor | $traitDescriptor |