$builder
$builder : \phpDocumentor\Descriptor\ProjectDescriptorBuilder|null
Assembles a MethodDescriptor from a MethodReflector.
$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 with its dependencies.
\phpDocumentor\Descriptor\Builder\Reflector\ArgumentAssembler | $argumentAssembler |
create(\phpDocumentor\Reflection\ClassReflector\MethodReflector $data) : \phpDocumentor\Descriptor\MethodDescriptor
Creates a Descriptor from the provided data.
\phpDocumentor\Reflection\ClassReflector\MethodReflector | $data |
assembleDocBlock(\phpDocumentor\Reflection\DocBlock|null $docBlock, \phpDocumentor\Descriptor\DescriptorAbstract $target) : void
Assemble DocBlock.
\phpDocumentor\Reflection\DocBlock|null | $docBlock | |
\phpDocumentor\Descriptor\DescriptorAbstract | $target |
mapReflectorToDescriptor(\phpDocumentor\Reflection\ClassReflector\MethodReflector $reflector, \phpDocumentor\Descriptor\MethodDescriptor $descriptor) : void
Maps the fields to the reflector to the descriptor.
\phpDocumentor\Reflection\ClassReflector\MethodReflector | $reflector | |
\phpDocumentor\Descriptor\MethodDescriptor | $descriptor |
addArguments(\phpDocumentor\Reflection\ClassReflector\MethodReflector $reflector, \phpDocumentor\Descriptor\MethodDescriptor $descriptor) : void
Adds the reflected Arguments to the Descriptor.
\phpDocumentor\Reflection\ClassReflector\MethodReflector | $reflector | |
\phpDocumentor\Descriptor\MethodDescriptor | $descriptor |
addArgument(\phpDocumentor\Reflection\FunctionReflector\ArgumentReflector $argument, \phpDocumentor\Descriptor\MethodDescriptor $descriptor) : void
Adds a single reflected Argument to the Method Descriptor.
\phpDocumentor\Reflection\FunctionReflector\ArgumentReflector | $argument | |
\phpDocumentor\Descriptor\MethodDescriptor | $descriptor |
addVariadicArgument(\phpDocumentor\Reflection\ClassReflector\MethodReflector $data, \phpDocumentor\Descriptor\MethodDescriptor $methodDescriptor) : void
Checks if there is a variadic argument in the `@param` tags and adds it to the list of Arguments in the Descriptor unless there is already one present.
\phpDocumentor\Reflection\ClassReflector\MethodReflector | $data | |
\phpDocumentor\Descriptor\MethodDescriptor | $methodDescriptor |