TraitInterface

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

Public interface definition for object representing traits.

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 a list of all methods inherited from parent traits.

getInheritedMethods() : \phpDocumentor\Descriptor\Collection

Returns all properties inherited from parent traits.

getInheritedProperties() : \phpDocumentor\Descriptor\Collection

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 all methods belonging to this trait.

getMethods() : \phpDocumentor\Descriptor\Collection

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 properties associated with this trait.

getProperties() : \phpDocumentor\Descriptor\Collection

Returns the summary describing this element.

getSummary() : string
inherited

Response

string

Returns all tags associated with this element.

getTags() : \phpDocumentor\Descriptor\Collection
inherited

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 all methods belonging to this trait.

setMethods(\phpDocumentor\Descriptor\Collection $methods) : void

Sets the local name for this element.

setName(string $name) : void
inherited

Arguments

$name

string

Sets the properties associated with this trait.

setProperties(\phpDocumentor\Descriptor\Collection $properties) : void

Arguments

Sets a summary describing this element.

setSummary(string $summary) : void
inherited

Arguments

$summary

string