You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
631 B
23 lines
631 B
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace phpDocumentor\Reflection;
|
|
|
|
use phpDocumentor\Reflection\DocBlock\Tag;
|
|
|
|
// phpcs:ignore SlevomatCodingStandard.Classes.SuperfluousInterfaceNaming.SuperfluousSuffix
|
|
interface DocBlockFactoryInterface
|
|
{
|
|
/**
|
|
* Factory method for easy instantiation.
|
|
*
|
|
* @param array<string, class-string<Tag>> $additionalTags
|
|
*/
|
|
public static function createInstance(array $additionalTags = []) : DocBlockFactory;
|
|
|
|
/**
|
|
* @param string|object $docblock
|
|
*/
|
|
public function create($docblock, ?Types\Context $context = null, ?Location $location = null) : DocBlock;
|
|
}
|
|
|