VersionDescriptor

Extends \phpDocumentor\Descriptor\TagDescriptor

Descriptor representing the version tag on a class, interface, trait or file.

package

Default

Methods

Initializes the tag by setting the name and errors,

__construct(string $name) 
inherited

Arguments

$name

string

Returns the description for this tag,

getDescription() : string
inherited

Response

string

Returns all errors associated with this tag.

getErrors() : \phpDocumentor\Descriptor\Collection
inherited

Returns the name for this tag.

getName() : string
inherited

Response

string

Returns the current version for the associated element.

getVersion() : string

Response

string

Sets a description for this tab instance.

setDescription(string $description) : void
inherited

Arguments

$description

string

Sets a list of errors found on the usage of this tag.

setErrors(\phpDocumentor\Descriptor\Collection $errors) : void
inherited

Sets the name for this tag.

setName(string $name) : void
inherited

Arguments

$name

string

Sets the version for the associated element.

setVersion(string $version) : void

Arguments

$version

string

Properties

Version string representing the current version of the element

version : string
var

Version string representing the current version of the element

Type(s)

string

Name of the tag.

name : string
inherited
var

Name of the tag.

Type(s)

string

A description line for this tag

description : string
inherited
var

A description line for this tag

Type(s)

string

A collection of errors found during filtering.

errors : \phpDocumentor\Descriptor\Collection
inherited
var

A collection of errors found during filtering.

Type(s)

\phpDocumentor\Descriptor\Collection