MethodDescriptor
in package
extends TagDescriptor
Base class for any tag descriptor and used when a tag has no specific 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
$methodName Line 23
private$methodName : string
$arguments Line 26
private$arguments : \phpDocumentor\Descriptor\Collection<\phpDocumentor\Descriptor\ArgumentDescriptor>
$response Line 29
private$response : ?\phpDocumentor\Descriptor\Tag\ReturnDescriptor
$static Line 32
private$static : bool
Methods
__construct() Line 34
Initializes the tag by setting the name and errors,
public__construct(string $name) : mixed
Parameters
Returns
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