Properties
$assemblers Line 75
protected$assemblers : \phpDocumentor\Descriptor\Builder\AssemblerMatcher[]
$fallbackAssemblers Line 78
protected$fallbackAssemblers : \phpDocumentor\Descriptor\Builder\AssemblerMatcher[]
Methods
register() Line 88
Registers an assembler instance to this factory.
publicregister(callable $matcher, AssemblerInterface $assembler) : void
Parameters
A callback function accepting the criteria as only parameter and which must return a boolean.
An instance of the Assembler that will be returned if the callback returns true with the provided criteria.
registerFallback() Line 102
Registers an assembler instance to this factory that is to be executed after all other assemblers have been checked.
publicregisterFallback(callable $matcher, AssemblerInterface $assembler) : void
Parameters
A callback function accepting the criteria as only parameter and which must return a boolean.
An instance of the Assembler that will be returned if the callback returns true with the provided criteria.
get() Line 112
Retrieves a matching Assembler based on the provided criteria or null if none was found.
publicget(mixed $criteria) : AssemblerInterface|null