CloneableFinalInstantiable
ImplementsphpDocumentor\Reflection\DocBlockFactoryInterface
Methods
public __construct(phpDocumentor\Reflection\DocBlock\DescriptionFactory $descriptionFactory, phpDocumentor\Reflection\DocBlock\TagFactory $tagFactory)
 

Initializes this factory with the required subcontractors.

public create( $docblock, ?phpDocumentor\Reflection\Types\Context $context = NULL, ?phpDocumentor\Reflection\Location $location = NULL) : phpDocumentor\Reflection\DocBlock
 
    public static createInstance(array $additionalTags = []) : self
     

    Factory method for easy instantiation.

      public registerTagHandler(string $tagName, string $handler) : void
       
        Properties
        private $descriptionFactory
        private $tagFactory
        Methods
        private filterTagBlock(string $tags) : string
        private parseTagBlock(string $tags, phpDocumentor\Reflection\Types\Context $context) : array
         

        Creates the tag objects.

        private splitDocBlock(string $comment) : array
         

        Splits the DocBlock into a template marker, summary, description and block of tags.

        private splitTagBlockIntoTagLines(string $tags) : array
         
        • return string[]
        private stripDocComment(string $comment) : string
         

        Strips the asterisks from the DocBlock comment.

          Methods
          public static createInstance(array $additionalTags = []) : self
           

          Factory method for easy instantiation.

            © 2020 Bruce Wells
            Search Namespaces \ Classes
            ConfigurationNumbers (0-9.) only