1<?php
2namespace phpDocumentor\Reflection;
3
4interface DocBlockFactoryInterface
5{
6    /**
7     * Factory method for easy instantiation.
8     *
9     * @param string[] $additionalTags
10     *
11     * @return DocBlockFactory
12     */
13    public static function createInstance(array $additionalTags = []);
14
15    /**
16     * @param string $docblock
17     * @param Types\Context $context
18     * @param Location $location
19     *
20     * @return DocBlock
21     */
22    public function create($docblock, Types\Context $context = null, Location $location = null);
23}
24