Documentation

UsesDescriptor extends TagDescriptor
in package

Descriptor representing the uses tag on any element.

Table of Contents

$description  : DescriptionDescriptor
$errors  : Collection<string|int, Error>
$name  : string
$reference  : Fqsen|Descriptor|null
__construct()  : mixed
Initializes the tag by setting the name and errors,
__toString()  : string
getDescription()  : DescriptionDescriptor
Returns the description for this tag,
getErrors()  : Collection<string|int, Error>
Returns all errors associated with this tag.
getName()  : string
Returns the name for this tag.
getReference()  : Fqsen|Descriptor|null
Returns the FQSEN, or Descriptor after linking, to which this tag points.
setDescription()  : void
Sets a description for this tab instance.
setErrors()  : void
Sets a list of errors found on the usage of this tag.
setReference()  : void
Sets the FQSEN or Descriptor to which this tag points.
setName()  : void
Sets the name for this tag.

Properties

Methods

__toString()

public __toString() : string
Return values
string

getName()

Returns the name for this tag.

public getName() : string
Return values
string

setName()

Sets the name for this tag.

protected setName(string $name) : void
Parameters
$name : string
Return values
void

Search results