DeprecatedDescriptor
in package
extends TagDescriptor
Descriptor representing the deprecated tag with a descriptor.
Properties
$name inherited
protected$name : string
- Inherited from
- \phpDocumentor\Descriptor\TagDescriptor
$description inherited
protected$description : string
- Inherited from
- \phpDocumentor\Descriptor\TagDescriptor
$errors inherited
protected$errors : \phpDocumentor\Descriptor\Collection<\phpDocumentor\Descriptor\Validation\Error>
- Inherited from
- \phpDocumentor\Descriptor\TagDescriptor
$version Line 24
private$version : string
Methods
__construct() inherited
Initializes the tag by setting the name and errors,
public__construct(string $name) : mixed
setDescription() inherited
Sets a description for this tab instance.
publicsetDescription(string $description) : void
setErrors() inherited
Sets a list of errors found on the usage of this tag.
publicsetErrors(\phpDocumentor\Descriptor\Collection<\phpDocumentor\Descriptor\Validation\Error> $errors) : void
Parameters
- Inherited from
- \phpDocumentor\Descriptor\TagDescriptor
getErrors() inherited
Returns all errors associated with this tag.
publicgetErrors() : \phpDocumentor\Descriptor\Collection<\phpDocumentor\Descriptor\Validation\Error>
Returns
\phpDocumentor\Descriptor\Collection<\phpDocumentor\Descriptor\Validation\Error> —- Inherited from
- \phpDocumentor\Descriptor\TagDescriptor
getVersion() Line 29
Returns the version since when the associated element was deprecated.
publicgetVersion() : string
Returns
string —
setVersion() Line 37
Sets the version since when the associated element was deprecated.
publicsetVersion(string $version) : void