$assemblers
$assemblers : \phpDocumentor\Descriptor\Builder\AssemblerMatcher[]
Attempts to retrieve an Assembler for the provided criteria.
register(\phpDocumentor\Descriptor\Builder\Matcher<object> $matcher, \phpDocumentor\Descriptor\Builder\AssemblerInterface<\phpDocumentor\Descriptor\Descriptor,object> $assembler) : void
Registers an assembler instance to this factory.
\phpDocumentor\Descriptor\Builder\Matcher | $matcher | A callback function accepting the criteria as only parameter and which must return a boolean. |
\phpDocumentor\Descriptor\Builder\AssemblerInterface<\phpDocumentor\Descriptor\Descriptor,object> | $assembler | An instance of the Assembler that will be returned if the callback returns true with the provided criteria. |
registerFallback(\phpDocumentor\Descriptor\Builder\Matcher<object> $matcher, \phpDocumentor\Descriptor\Builder\AssemblerInterface<\phpDocumentor\Descriptor\Descriptor,object> $assembler) : void
Registers an assembler instance to this factory that is to be executed after all other assemblers have been checked.
\phpDocumentor\Descriptor\Builder\Matcher | $matcher | A callback function accepting the criteria as only parameter and which must return a boolean. |
\phpDocumentor\Descriptor\Builder\AssemblerInterface<\phpDocumentor\Descriptor\Descriptor,object> | $assembler | An instance of the Assembler that will be returned if the callback returns true with the provided criteria. |
get(\phpDocumentor\Descriptor\Builder\TParamInput $criteria, class-string<\phpDocumentor\Descriptor\Builder\TParamDescriptor> $type) : \phpDocumentor\Descriptor\Builder\AssemblerInterface<\phpDocumentor\Descriptor\Builder\TParamDescriptor,\phpDocumentor\Descriptor\Builder\TParamInput>|null
Retrieves a matching Assembler based on the provided criteria or null if none was found.
\phpDocumentor\Descriptor\Builder\TParamInput | $criteria | |
class-string<\phpDocumentor\Descriptor\Builder\TParamDescriptor> | $type |