$builder
$builder : \phpDocumentor\Descriptor\ProjectDescriptorBuilder|null
Assembles an EnumDescriptor using an ClassReflector.
getBuilder() : ?\phpDocumentor\Descriptor\ProjectDescriptorBuilder
Returns the builder for this Assembler or null if none is set.
None found |
setBuilder(\phpDocumentor\Descriptor\ProjectDescriptorBuilder $builder) : void
Registers the Builder with this Assembler.
The Builder may be used to recursively assemble Descriptors using the {@link ProjectDescriptorBuilder::buildDescriptor()} method.
\phpDocumentor\Descriptor\ProjectDescriptorBuilder | $builder |
None found |
buildDescriptor(\phpDocumentor\Reflection\Php\Enum_ $data) : \phpDocumentor\Descriptor\Builder\Reflector\TDescriptor|null
\phpDocumentor\Reflection\Php\Enum_ | $data |
None found |
assembleDocBlock(?\phpDocumentor\Reflection\DocBlock $docBlock, \phpDocumentor\Descriptor\DescriptorAbstract $target) : void
Assemble DocBlock.
?\phpDocumentor\Reflection\DocBlock | $docBlock | |
\phpDocumentor\Descriptor\DescriptorAbstract | $target |
None found |
extractPackageFromDocBlock(?\phpDocumentor\Reflection\DocBlock $docBlock) : ?string
Extracts the package from the DocBlock.
?\phpDocumentor\Reflection\DocBlock | $docBlock |
None found |
addMethods(\phpDocumentor\Reflection\Php\Method[] $methods, \phpDocumentor\Descriptor\Interfaces\EnumInterface $descriptor) : void
Registers the child methods with the generated Class Descriptor.
\phpDocumentor\Reflection\Php\Method[] | $methods | |
\phpDocumentor\Descriptor\Interfaces\EnumInterface | $descriptor |
None found |
addUses(\phpDocumentor\Reflection\Fqsen[] $traits, \phpDocumentor\Descriptor\Interfaces\EnumInterface $descriptor) : void
Registers the used traits with the generated Class Descriptor.
\phpDocumentor\Reflection\Fqsen[] | $traits | |
\phpDocumentor\Descriptor\Interfaces\EnumInterface | $descriptor |
None found |
addCases(\phpDocumentor\Reflection\Php\EnumCase[] $cases, \phpDocumentor\Descriptor\Interfaces\EnumInterface $descriptor) : void
\phpDocumentor\Reflection\Php\EnumCase[] | $cases | |
\phpDocumentor\Descriptor\Interfaces\EnumInterface | $descriptor |
None found |