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)
    public static createInstance(array $additionalTags = [])
     
    Factory method for easy instantiation.

    public registerTagHandler( $tagName, $handler)
    Properties
    private $descriptionFactory
    private $tagFactory
    Methods
    private filterTagBlock( $tags)
     


    • return string
    private parseTagBlock( $tags, phpDocumentor\Reflection\Types\Context $context)
     
    Creates the tag objects.

    • return DocBlock\Tag[]
    private splitDocBlock( $comment)
     
    Splits the DocBlock into a template marker, summary, description and block of tags.

    private splitTagBlockIntoTagLines( $tags)
     


    • return string[]
    private stripDocComment( $comment)
     
    Strips the asterisks from the DocBlock comment.

    • return string
    Methods
    public static createInstance(array $additionalTags = [])
     
    Factory method for easy instantiation.

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