Reflection class for a {@}source tag in a Docblock.

CloneableFinalInstantiable
ExtendsphpDocumentor\Reflection\DocBlock\Tags\BaseTag
ImplementsphpDocumentor\Reflection\DocBlock\Tag
phpDocumentor\Reflection\DocBlock\Tags\Factory\StaticMethod
Methods
public __construct( $startingLine, $lineCount = NULL, ?phpDocumentor\Reflection\DocBlock\Description $description = NULL)
public __toString()
public static create( $body, ?phpDocumentor\Reflection\DocBlock\DescriptionFactory $descriptionFactory = NULL, ?phpDocumentor\Reflection\Types\Context $context = NULL)
 


    public phpDocumentor\Reflection\DocBlock\Tags\BaseTag::getDescription()
    public getLineCount()
     
    Returns the number of lines.

    • return int|null The number of lines, relative to the starting line. NULL means "to the end".
    public phpDocumentor\Reflection\DocBlock\Tags\BaseTag::getName()
     
    Gets the name of this tag.

    • return string The name of this tag.
    public getStartingLine()
     
    Gets the starting line.

    • return int The starting line, relative to the structural element's location.
    public phpDocumentor\Reflection\DocBlock\Tags\BaseTag::render(?phpDocumentor\Reflection\DocBlock\Tags\Formatter $formatter = NULL)
    Properties
    protected phpDocumentor\Reflection\DocBlock\Tags\BaseTag::$description
     


    • var Description|null Description of the tag.
    protected $name
     


    • var string
    Properties
    private $lineCount
     


    • var int|null The number of lines, relative to the starting line. NULL means "to the end".
    private $startingLine
     


    • var int The starting line, relative to the structural element's location.
    Methods
    public static create( $body, ?phpDocumentor\Reflection\DocBlock\DescriptionFactory $descriptionFactory = NULL, ?phpDocumentor\Reflection\Types\Context $context = NULL)
     


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