$builder
$builder : \phpDocumentor\Descriptor\ProjectDescriptorBuilder|null
Assembles a FunctionDescriptor from a FunctionReflector.
$builder : \phpDocumentor\Descriptor\ProjectDescriptorBuilder|null
$argumentAssembler : \phpDocumentor\Descriptor\Builder\Reflector\ArgumentAssembler
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 |
__construct(\phpDocumentor\Descriptor\Builder\Reflector\ArgumentAssembler $argumentAssembler)
Initializes this assembler and its dependencies.
\phpDocumentor\Descriptor\Builder\Reflector\ArgumentAssembler | $argumentAssembler |
create(\phpDocumentor\Reflection\FunctionReflector $data) : \phpDocumentor\Descriptor\FunctionDescriptor
Creates a Descriptor from the provided data.
\phpDocumentor\Reflection\FunctionReflector | $data |
assembleDocBlock(\phpDocumentor\Reflection\DocBlock|null $docBlock, \phpDocumentor\Descriptor\DescriptorAbstract $target) : void
Assemble DocBlock.
\phpDocumentor\Reflection\DocBlock|null | $docBlock | |
\phpDocumentor\Descriptor\DescriptorAbstract | $target |
mapReflectorPropertiesOntoDescriptor(\phpDocumentor\Reflection\FunctionReflector $reflector, \phpDocumentor\Descriptor\FunctionDescriptor $descriptor) : void
Maps the properties of the Function reflector onto the Descriptor.
\phpDocumentor\Reflection\FunctionReflector | $reflector | |
\phpDocumentor\Descriptor\FunctionDescriptor | $descriptor |
addArgumentsToFunctionDescriptor(array<mixed,\phpDocumentor\Reflection\FunctionReflector\ArgumentReflector> $arguments, \phpDocumentor\Descriptor\FunctionDescriptor $functionDescriptor) : void
Converts each argument reflector to an argument descriptor and adds it to the function descriptor.
array<mixed,\phpDocumentor\Reflection\FunctionReflector\ArgumentReflector> | $arguments | |
\phpDocumentor\Descriptor\FunctionDescriptor | $functionDescriptor |
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 |
createArgumentDescriptor(\phpDocumentor\Descriptor\FunctionDescriptor $functionDescriptor, \phpDocumentor\Reflection\FunctionReflector\ArgumentReflector $argument) : \phpDocumentor\Descriptor\ArgumentDescriptor
Creates a new ArgumentDescriptor from the given Reflector and Param.
\phpDocumentor\Descriptor\FunctionDescriptor | $functionDescriptor | |
\phpDocumentor\Reflection\FunctionReflector\ArgumentReflector | $argument |
getFullyQualifiedNamespaceName(\phpDocumentor\Reflection\FunctionReflector $reflector) : string
Retrieves the Fully Qualified Namespace Name from the FunctionReflector.
Reflection library formulates namespace as global but this is not wanted for phpDocumentor itself.
\phpDocumentor\Reflection\FunctionReflector | $reflector |