UsesDescriptor
in package
extends TagDescriptor
Descriptor representing the uses tag on any element.
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
$reference Line 26
private$reference : \phpDocumentor\Reflection\Fqsen|\phpDocumentor\Descriptor\Descriptor
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
getReference() Line 33
Returns the FQSEN, or Descriptor after linking, to which this tag points.
publicgetReference() : Fqsen|Descriptor|null
setReference() Line 43
Sets the FQSEN or Descriptor to which this tag points.
publicsetReference(Fqsen|Descriptor|null $reference) : void