$builder
$builder : \phpDocumentor\Descriptor\ProjectDescriptorBuilder|null
Assembles a FunctionDescriptor from a FunctionReflector.
$builder : \phpDocumentor\Descriptor\ProjectDescriptorBuilder|null
$argumentAssembler : \phpDocumentor\Descriptor\Builder\Reflector\ArgumentAssembler
$reducers : \phpDocumentor\Descriptor\Builder\AssemblerReducer[]
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} method.
\phpDocumentor\Descriptor\ProjectDescriptorBuilder | $builder |
None found |
buildDescriptor(\phpDocumentor\Descriptor\Builder\Reflector\TInput $data) : \phpDocumentor\Descriptor\Builder\Reflector\TDescriptor|null
\phpDocumentor\Descriptor\Builder\Reflector\TInput | $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 |
mapReflectorPropertiesOntoDescriptor(\phpDocumentor\Reflection\Php\Function_ $reflector, \phpDocumentor\Descriptor\FunctionDescriptor $descriptor) : void
Maps the properties of the Function reflector onto the Descriptor.
\phpDocumentor\Reflection\Php\Function_ | $reflector | |
\phpDocumentor\Descriptor\FunctionDescriptor | $descriptor |
None found |
addArgumentsToFunctionDescriptor(\phpDocumentor\Reflection\Php\Argument[] $arguments, \phpDocumentor\Descriptor\FunctionDescriptor $functionDescriptor) : void
Converts each argument reflector to an argument descriptor and adds it to the function descriptor.
\phpDocumentor\Reflection\Php\Argument[] | $arguments | |
\phpDocumentor\Descriptor\FunctionDescriptor | $functionDescriptor |
None found |
addArgumentDescriptorToFunction(\phpDocumentor\Descriptor\FunctionDescriptor $functionDescriptor, \phpDocumentor\Descriptor\ArgumentDescriptor $argumentDescriptor) : void
Adds the given argument to the function.
\phpDocumentor\Descriptor\FunctionDescriptor | $functionDescriptor | |
\phpDocumentor\Descriptor\ArgumentDescriptor | $argumentDescriptor |
None found |
createArgumentDescriptor(\phpDocumentor\Descriptor\FunctionDescriptor $functionDescriptor, \phpDocumentor\Reflection\Php\Argument $argument) : \phpDocumentor\Descriptor\ArgumentDescriptor
Creates a new ArgumentDescriptor from the given Reflector and Param.
\phpDocumentor\Descriptor\FunctionDescriptor | $functionDescriptor | |
\phpDocumentor\Reflection\Php\Argument | $argument |
None found |