$builder
$builder : \phpDocumentor\Descriptor\ProjectDescriptorBuilder|null
Assembles a MethodDescriptor from a MethodReflector.
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\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 |
mapReflectorToDescriptor(\phpDocumentor\Reflection\Php\Method $reflector, \phpDocumentor\Descriptor\MethodDescriptor $descriptor) : void
Maps the fields to the reflector to the descriptor.
\phpDocumentor\Reflection\Php\Method | $reflector | |
\phpDocumentor\Descriptor\MethodDescriptor | $descriptor |
None found |
addArguments(\phpDocumentor\Reflection\Php\Method $reflector, \phpDocumentor\Descriptor\MethodDescriptor $descriptor) : void
Adds the reflected Arguments to the Descriptor.
\phpDocumentor\Reflection\Php\Method | $reflector | |
\phpDocumentor\Descriptor\MethodDescriptor | $descriptor |
None found |
addArgument(\phpDocumentor\Reflection\Php\Argument $argument, \phpDocumentor\Descriptor\MethodDescriptor $descriptor) : void
Adds a single reflected Argument to the Method Descriptor.
\phpDocumentor\Reflection\Php\Argument | $argument | |
\phpDocumentor\Descriptor\MethodDescriptor | $descriptor |
None found |
addVariadicArgument(\phpDocumentor\Reflection\Php\Method $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\Php\Method | $data | |
\phpDocumentor\Descriptor\MethodDescriptor | $methodDescriptor |
None found |