DescriptionAssemblerReducer
extends AssemblerAbstract
in package
implements
AssemblerReducer
Base class for all assemblers.
Tags
Interfaces, Classes and Traits
- AssemblerReducer
- A step in creating descriptors from reflection elements
Table of Contents
- $builder : ProjectDescriptorBuilder|null
- create() : DescriptorAbstract|TagDescriptor|null
- getBuilder() : ProjectDescriptorBuilder|null
- Returns the builder for this Assembler or null if none is set.
- setBuilder() : void
- Registers the Builder with this Assembler.
- createTags() : array<int, \phpDocumentor\Descriptor\TagDescriptor|null>
Properties
$builder
protected
ProjectDescriptorBuilder|null
$builder
Methods
create()
public
create(object $data[, Descriptor|null $descriptor = null ]) : DescriptorAbstract|TagDescriptor|null
Parameters
- $data : object
- $descriptor : Descriptor|null = null
Return values
DescriptorAbstract|TagDescriptor|null —getBuilder()
Returns the builder for this Assembler or null if none is set.
public
getBuilder() : ProjectDescriptorBuilder|null
Return values
ProjectDescriptorBuilder|null —setBuilder()
Registers the Builder with this Assembler.
public
setBuilder(ProjectDescriptorBuilder $builder) : void
The Builder may be used to recursively assemble Descriptors using the method.
Parameters
- $builder : ProjectDescriptorBuilder
Return values
void —createTags()
private
createTags(array<string|int, Tag> $tags) : array<int, \phpDocumentor\Descriptor\TagDescriptor|null>
Parameters
- $tags : array<string|int, Tag>