|
file-fetcher
|
Public Member Functions | |
| __construct (DescriptionFactory $descriptionFactory, TagFactory $tagFactory) | |
| create ($docblock, ?Types\Context $context=null, ?Location $location=null) | |
| registerTagHandler (string $tagName, string $handler) | |
Static Public Member Functions | |
| static | createInstance (array $additionalTags=[]) |
| phpDocumentor\Reflection\DocBlockFactory::__construct | ( | DescriptionFactory | $descriptionFactory, |
| TagFactory | $tagFactory | ||
| ) |
Initializes this factory with the required subcontractors.
| phpDocumentor\Reflection\DocBlockFactory::create | ( | $docblock, | |
| ?Types\Context | $context = null, |
||
| ?Location | $location = null |
||
| ) |
| object | string | $docblock | A string containing the DocBlock to parse or an object supporting the getDocComment method (such as a ReflectionClass object). |
Implements phpDocumentor\Reflection\DocBlockFactoryInterface.
|
static |
Factory method for easy instantiation.
| array<string,class-string<Tag>> | $additionalTags |
Implements phpDocumentor\Reflection\DocBlockFactoryInterface.
| phpDocumentor\Reflection\DocBlockFactory::registerTagHandler | ( | string | $tagName, |
| string | $handler | ||
| ) |
| class-string<Tag> | $handler |
1.8.17