DocBlockFactoryInterface.php 545 B

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