TagDescriptor
in package
Implements
Filterable
Base class for any tag descriptor and used when a tag has no specific descriptor.
Interfaces, Classes & Used Traits
- Filterable
- Interface to determine which elements can be filtered and to provide a way to set errors on the descriptor.
Properties
$name Line 24
protected$name : string
$description Line 27
protected$description : string
$errors Line 30
protected$errors : \phpDocumentor\Descriptor\Collection<\phpDocumentor\Descriptor\Validation\Error>
Methods
__construct() Line 35
Initializes the tag by setting the name and errors,
public__construct(string $name) : mixed
Parameters
Returns
mixed —Returns
string —
setDescription() Line 60
Sets a description for this tab instance.
publicsetDescription(string $description) : void
Parameters
Returns
string —
setErrors() Line 78
Sets a list of errors found on the usage of this tag.
publicsetErrors(\phpDocumentor\Descriptor\Collection<\phpDocumentor\Descriptor\Validation\Error> $errors) : void
Parameters
getErrors() Line 88
Returns all errors associated with this tag.
publicgetErrors() : \phpDocumentor\Descriptor\Collection<\phpDocumentor\Descriptor\Validation\Error>