mirror of
https://github.com/barryvdh/ReflectionDocBlock.git
synced 2026-08-18 10:07:12 +00:00
Add interface for the DocBlockFactory
This commit is contained in:
committed by
Mike van Riel
parent
53a142d672
commit
58d09836c1
@@ -0,0 +1,23 @@
|
|||||||
|
<?php
|
||||||
|
namespace phpDocumentor\Reflection;
|
||||||
|
|
||||||
|
interface DocBlockFactoryInterface
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* Factory method for easy instantiation.
|
||||||
|
*
|
||||||
|
* @param string[] $additionalTags
|
||||||
|
*
|
||||||
|
* @return DocBlockFactory
|
||||||
|
*/
|
||||||
|
public static function createInstance(array $additionalTags = []);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param string $docblock
|
||||||
|
* @param DocBlock\Context $context
|
||||||
|
* @param DocBlock\Location $location
|
||||||
|
*
|
||||||
|
* @return DocBlock
|
||||||
|
*/
|
||||||
|
public function create($docblock, DocBlock\Context $context = null, DocBlock\Location $location = null);
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user