DocBlockFactoryInterface
in
Table of Contents
- create() : DocBlock
- createInstance() : DocBlockFactory
- Factory method for easy instantiation.
Methods
create()
public
create(string|object $docblock[, Context|null $context = null ][, Location|null $location = null ]) : DocBlock
Parameters
Return values
DocBlock —createInstance()
Factory method for easy instantiation.
public
static createInstance([array<string, class-string<\phpDocumentor\Reflection\DocBlock\Tag>> $additionalTags = [] ]) : DocBlockFactory
Parameters
- $additionalTags : array<string, class-string<\phpDocumentor\Reflection\DocBlock\Tag>> = []