Method | Description | |
---|---|---|
addParserClass ( string $annotation, string $classname ) | Register a parser by its classname. | |
addParserFactory ( string $annotation, TheSeer\phpDox\FactoryInterface | string $factory ) | Register a parser factory. | |
getDocBlock ( ) | ||
getElementInstanceFor ( $name, $annotation = null ) | ||
getInlineProcessor ( TheSeer\fDOM\fDOMDocument $dom ) | ||
getParserInstanceFor ( $name, $annotation = null ) |
Method | Description | |
---|---|---|
getInstanceByMap ( $map, $name, $annotation = null ) | ||
verifyType ( mixed $item, string $type = 'string' ) | Verify the type of the given item matches the expected one. |
public addParserClass ( string $annotation, string $classname ) | ||
$annotation | string | Identifier of the parser within the registry. |
$classname | string | Name of the class representing the parser. |
public addParserFactory ( string $annotation, TheSeer\phpDox\FactoryInterface | string $factory ) | ||
$annotation | string | Identifier of the parser within the registry. |
$factory | TheSeer\phpDox\FactoryInterface | string | Instance of FactoryInterface to be registered or FQCN of the object to be created. |
public getInlineProcessor ( TheSeer\fDOM\fDOMDocument $dom ) | ||
$dom | TheSeer\fDOM\fDOMDocument |
protected verifyType ( mixed $item, string $type = 'string' ) | ||
$item | mixed | |
$type | string |