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

CloneableFinalInstantiable
ExtendsphpDocumentor\Reflection\DocBlock\Tags\BaseTag
ImplementsphpDocumentor\Reflection\DocBlock\Tag
phpDocumentor\Reflection\DocBlock\Tags\Factory\StaticMethod
Constants
public phpDocumentor\Reflection\DocBlock\Tags\Deprecated::REGEX_VECTOR = '(?: # Normal release vectors. \d\S* | # VCS version vectors. Per PHPCS, they are expected to # follow the form of the VCS name, followed by ":", followed # by the version vector itself. # By convention, popular VCSes like CVS, SVN and GIT use "$" # around the actual version vector. [^\s\:]+\:\s*\$[^\$]+\$ )'
 

PCRE regular expression matching a version vector.

Assumes the "x" modifier.

Methods
public __construct(?string $version = NULL, ?phpDocumentor\Reflection\DocBlock\Description $description = NULL)
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
 
  • return static
public phpDocumentor\Reflection\DocBlock\Tags\BaseTag::getDescription() : phpDocumentor\Reflection\DocBlock\Description
public phpDocumentor\Reflection\DocBlock\Tags\BaseTag::getName() : string
 

Gets the name of this tag.

  • return string The name of this tag.
public getVersion() : string
 

Gets the version section of the tag.

public phpDocumentor\Reflection\DocBlock\Tags\BaseTag::render(?phpDocumentor\Reflection\DocBlock\Tags\Formatter $formatter = NULL) : string
Properties
protected phpDocumentor\Reflection\DocBlock\Tags\BaseTag::$description
 
  • var Description|null Description of the tag.
protected $name
 
  • var string
Properties
private $version
 
  • var string|null The version vector.
Methods
public static create(?string $body, ?phpDocumentor\Reflection\DocBlock\DescriptionFactory $descriptionFactory = NULL, ?phpDocumentor\Reflection\Types\Context $context = NULL) : self
 
  • return static
© 2020 Bruce Wells
Search Namespaces \ Classes
ConfigurationNumbers (0-9.) only