DocBlockFactoryInterface
in
Table of Contents
- create() : DocBlock
- createInstance() : self
- 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 = [] ]) : self
Parameters
- $additionalTags : array<string, class-string<\phpDocumentor\Reflection\DocBlock\Tag>> = []