ClassAssembler
in package
extends AssemblerAbstract
Assembles an ClassDescriptor using an ClassReflector.
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 39
Creates a Descriptor from the provided data.
publiccreate(Class_ $data) : ClassDescriptor
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 —
addConstants() Line 76
Registers the child constants with the generated Class Descriptor.
protectedaddConstants(\phpDocumentor\Reflection\Php\Constant[] $constants, ClassDescriptor $classDescriptor) : void
addProperties() Line 94
Registers the child properties with the generated Class Descriptor.
protectedaddProperties(\phpDocumentor\Reflection\Php\Property[] $properties, ClassDescriptor $classDescriptor) : void
Parameters
addMethods() Line 112
Registers the child methods with the generated Class Descriptor.
protectedaddMethods(\phpDocumentor\Reflection\Php\Method[] $methods, ClassDescriptor $classDescriptor) : void
addUses() Line 130
Registers the used traits with the generated Class Descriptor.
protectedaddUses(\phpDocumentor\Reflection\Fqsen[] $traits, ClassDescriptor $classDescriptor) : void