phpDocumentor

TagDescriptor
in package
implements Descriptor, Filterable, Stringable uses HasName, HasDescription, HasErrors

Base class for any tag descriptor and used when a tag has no specific descriptor.

Table of Contents

Interfaces

Descriptor
Base class for descriptors containing the most used options.
Filterable
Interface to determine which elements can be filtered and to provide a way to set errors on the descriptor.
Stringable

Properties

$description  : DescriptionDescriptor|null
$errors  : Collection<string|int, Error>
$name  : string

Methods

__construct()  : mixed
Initializes the tag by setting the name and errors,
__toString()  : string
getDescription()  : DescriptionDescriptor
Returns the description for this element.
getErrors()  : Collection<string|int, Error>
Returns all errors associated with this tag.
getName()  : string
Returns the name for this element.
setDescription()  : void
Sets a description or none to inherit from a parent.

Properties

Methods

__toString()

public __toString() : string
Return values
string

getName()

Returns the name for this element.

public getName() : string
Return values
string

        
On this page

Search results