ConstantInterface

Extends \phpDocumentor\Descriptor\Interfaces\ElementInterface, \phpDocumentor\Descriptor\Interfaces\TypeInterface

Descriptor representing a constant on a class, trait, property or file.

package

Default

Methods

Returns a longer description for this element.

getDescription() : string
inherited

Response

string

Returns the Fully Qualified Structural Element Name (FQSEN) for this element.

getFullyQualifiedStructuralElementName() : string
inherited

Response

string

Returns the line number where this element may be found.

getLine() : integer
inherited
see \phpDocumentor\Descriptor\Interfaces\ElementInterface::getPath()

to find out in which file this element is found.

Response

integer

Returns the local name for this element.

getName() : string
inherited

Response

string

Returns the file location for this element relative to the project root.

getPath() : string
inherited

Response

string

Returns the summary describing this element.

getSummary() : string
inherited

Response

string

Returns all tags associated with this element.

getTags() : \phpDocumentor\Descriptor\Collection
inherited

Returns the types that may be present in this constant.

getTypes() : array<mixed,array>

Response

array<mixed,array>

Retrieves a textual representation of the value in this constant.

getValue() : string

Response

string

Sets a longer description for this element.

setDescription(string $description) : void
inherited

Arguments

$description

string

Sets the Fully Qualified Structural Element Name (FQSEN) for this element.

setFullyQualifiedStructuralElementName(string $name) : void
inherited

Arguments

$name

string

Sets the file and location for this element.

setLocation(\phpDocumentor\Descriptor\FileDescriptor $file, integer $line) : void
inherited

Arguments

$line

integer

Sets the local name for this element.

setName(string $name) : void
inherited

Arguments

$name

string

Sets a summary describing this element.

setSummary(string $summary) : void
inherited

Arguments

$summary

string

Sets the types that this constant may contain.

setTypes(\phpDocumentor\Descriptor\Collection $types) : void

Sets the value representation for this constant.

setValue(string $value) : void

Arguments

$value

string