Copied!

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

CloneableFinalInstantiable
Methods
public __construct(string $link, ?phpDocumentor\Reflection\DocBlock\Description $description = NULL)
 

Initializes a link to a URL.

public __toString() : string
 

Returns a string representation for this tag.

public static create(string $body, ?phpDocumentor\Reflection\DocBlock\DescriptionFactory $descriptionFactory = NULL, ?phpDocumentor\Reflection\Types\Context $context = NULL) : self
public phpDocumentor\Reflection\DocBlock\Tags\BaseTag::getDescription() : ?phpDocumentor\Reflection\DocBlock\Description
public getLink() : string
 

Gets the link

public phpDocumentor\Reflection\DocBlock\Tags\BaseTag::getName() : string
 

Gets the name of this tag.

  • return string The name of this tag.
public phpDocumentor\Reflection\DocBlock\Tags\BaseTag::render(?phpDocumentor\Reflection\DocBlock\Tags\Formatter $formatter = NULL) : string
Properties
protected ?phpDocumentor\Reflection\DocBlock\Description phpDocumentor\Reflection\DocBlock\Tags\BaseTag::$description = NULL
 
  • var \Description|null Description of the tag.
protected string $name = 'link'
Properties
private string $link
Methods
public static create(string $body, ?phpDocumentor\Reflection\DocBlock\DescriptionFactory $descriptionFactory = NULL, ?phpDocumentor\Reflection\Types\Context $context = NULL) : self
© 2024 Bruce Wells
Search Namespaces \ Classes
Configuration