Files
barryvdh_ReflectionDocBlock/src/DocBlockFactoryInterface.php
T
2019-09-20 10:54:12 +02:00

22 lines
563 B
PHP

<?php
declare(strict_types=1);
namespace phpDocumentor\Reflection;
// phpcs:ignore SlevomatCodingStandard.Classes.SuperfluousInterfaceNaming.SuperfluousSuffix
interface DocBlockFactoryInterface
{
/**
* Factory method for easy instantiation.
*
* @param string[] $additionalTags
*/
public static function createInstance(array $additionalTags = []) : DocBlockFactory;
/**
* @param string|object $docblock
*/
public function create($docblock, ?Types\Context $context = null, ?Location $location = null) : DocBlock;
}