Copied!

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

CloneableFinalInstantiable
Methods
public __construct(?string $variableName, ?phpDocumentor\Reflection\Type $type = NULL, ?phpDocumentor\Reflection\DocBlock\Description $description = NULL)
public __toString() : string
 

Returns a string representation for this tag.

public static create(string $body, ?phpDocumentor\Reflection\TypeResolver $typeResolver = NULL, ?phpDocumentor\Reflection\DocBlock\DescriptionFactory $descriptionFactory = NULL, ?phpDocumentor\Reflection\Types\Context $context = NULL) : self
 
  • deprecated Create using static factory is deprecated, this method should not be called directly by library consumers
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 phpDocumentor\Reflection\DocBlock\Tags\TagWithType::getType() : ?phpDocumentor\Reflection\Type
 

Returns the type section of the variable.

public getVariableName() : ?string
 

Returns the variable's name.

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 phpDocumentor\Reflection\DocBlock\Tags\BaseTag::$name = ''
 
  • var string Name of the tag
protected ?phpDocumentor\Reflection\Type phpDocumentor\Reflection\DocBlock\Tags\TagWithType::$type = NULL
 
  • var ?\Type
protected ?string $variableName = NULL
Methods
protected static phpDocumentor\Reflection\DocBlock\Tags\TagWithType::extractTypeFromBody(string $body) : array
 
  • return string[]
Methods
public static create(string $body, ?phpDocumentor\Reflection\TypeResolver $typeResolver = NULL, ?phpDocumentor\Reflection\DocBlock\DescriptionFactory $descriptionFactory = NULL, ?phpDocumentor\Reflection\Types\Context $context = NULL) : self
 
  • deprecated Create using static factory is deprecated, this method should not be called directly by library consumers
protected static phpDocumentor\Reflection\DocBlock\Tags\TagWithType::extractTypeFromBody(string $body) : array
 
  • return string[]
© 2024 Bruce Wells
Search Namespaces \ Classes
Configuration