$builder
$builder : \phpDocumentor\Descriptor\ProjectDescriptorBuilder|null
This class collects data from the example tag definition of the Reflection library, tries to find the correlating example file on disk and creates a complete Descriptor from that.
__construct(\phpDocumentor\Reflection\DocBlock\ExampleFinder $finder, \phpDocumentor\Descriptor\Builder\AssemblerReducer ...$reducers) : mixed
Initializes this assembler with the means to find the example file on disk.
\phpDocumentor\Reflection\DocBlock\ExampleFinder | $finder | |
\phpDocumentor\Descriptor\Builder\AssemblerReducer | $reducers variadic |
buildDescriptor(\phpDocumentor\Reflection\DocBlock\Tags\Example $data) : \phpDocumentor\Descriptor\Builder\Reflector\TDescriptor|null
Creates a new Descriptor from the given Reflector.
\phpDocumentor\Reflection\DocBlock\Tags\Example | $data |
If the provided parameter is not of type ExampleTag; the interface won't let up typehint the signature.
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 |
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 |