lib/3rdParty/composer/phpdocumentor/reflection-docblock/src/DocBlockFactoryInterface.php
raw symbols SCIP| 1 | <?php |
| 2 | |
| 3 | declare(strict_types=1); |
| 4 | |
| 5 | namespace phpDocumentor\Reflection; |
| 6 | |
| 7 | use phpDocumentor\Reflection\DocBlock\Tag; |
| 8 | |
| 9 | // phpcs:ignore SlevomatCodingStandard.Classes.SuperfluousInterfaceNaming.SuperfluousSuffix |
| 10 | interface DocBlockFactoryInterface |
| 11 | { |
| 12 | /** |
| 13 | * Factory method for easy instantiation. |
| 14 | * |
| 15 | * @param array<string, class-string<Tag>> $additionalTags |
| 16 | */ |
| 17 | public static function createInstance(array $additionalTags = []): self; |
| 18 | |
| 19 | /** |
| 20 | * @param string|object $docblock |
| 21 | */ |
| 22 | public function create($docblock, ?Types\Context $context = null, ?Location $location = null): DocBlock; |
| 23 | } |