\phpDocumentor\Descriptor\Builder\ReflectorInterfaceAssembler

Assembles an InterfaceDescriptor using an InterfaceReflector.

Summary

Methods
Properties
Constants
getBuilder()
setBuilder()
create()
No public properties found
No constants found
assembleDocBlock()
extractPackageFromDocBlock()
addConstants()
addMethods()
$builder
N/A
No private methods found
No private properties found
N/A

Properties

Methods

create()

create(\phpDocumentor\Reflection\InterfaceReflector  $data) : \phpDocumentor\Descriptor\InterfaceDescriptor

Creates a Descriptor from the provided data.

Parameters

\phpDocumentor\Reflection\InterfaceReflector $data

Returns

\phpDocumentor\Descriptor\InterfaceDescriptor

assembleDocBlock()

assembleDocBlock(\phpDocumentor\Reflection\DocBlock|null  $docBlock, \phpDocumentor\Descriptor\DescriptorAbstract  $target) : void

Assemble DocBlock.

Parameters

\phpDocumentor\Reflection\DocBlock|null $docBlock
\phpDocumentor\Descriptor\DescriptorAbstract $target

extractPackageFromDocBlock()

extractPackageFromDocBlock(\phpDocumentor\Reflection\DocBlock  $docBlock) : string|null

Extracts the package from the DocBlock.

Parameters

\phpDocumentor\Reflection\DocBlock $docBlock

Returns

string|null

addConstants()

addConstants(array<mixed,\phpDocumentor\Reflection\ConstantReflector>  $constants, \phpDocumentor\Descriptor\InterfaceDescriptor  $interfaceDescriptor) : void

Registers the child constants with the generated Interface Descriptor.

Parameters

array<mixed,\phpDocumentor\Reflection\ConstantReflector> $constants
\phpDocumentor\Descriptor\InterfaceDescriptor $interfaceDescriptor

addMethods()

addMethods(array<mixed,\phpDocumentor\Reflection\ClassReflector\MethodReflector>  $methods, \phpDocumentor\Descriptor\InterfaceDescriptor  $interfaceDescriptor) : void

Registers the child methods with the generated Interface Descriptor.

Parameters

array<mixed,\phpDocumentor\Reflection\ClassReflector\MethodReflector> $methods
\phpDocumentor\Descriptor\InterfaceDescriptor $interfaceDescriptor