Methods

setFullyQualifiedStructuralElementName()

setFullyQualifiedStructuralElementName(\phpDocumentor\Reflection\Fqsen  $name) : void

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

Parameters

\phpDocumentor\Reflection\Fqsen $name

getFullyQualifiedStructuralElementName()

getFullyQualifiedStructuralElementName() : ?\phpDocumentor\Reflection\Fqsen

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

Returns

?\phpDocumentor\Reflection\Fqsen —

setName()

setName(string  $name) : void

Sets the local name for this element.

Parameters

string $name

getName()

getName() : string

Returns the local name for this element.

Returns

string —

setSummary()

setSummary(string  $summary) : void

Sets a summary describing this element.

Parameters

string $summary

getSummary()

getSummary() : string

Returns the summary describing this element.

Returns

string —

setDescription()

setDescription(\phpDocumentor\Descriptor\DocBlock\DescriptionDescriptor  $description) : void

Sets a longer description for this element.

Parameters

\phpDocumentor\Descriptor\DocBlock\DescriptionDescriptor $description

getDescription()

getDescription() : ?\phpDocumentor\Descriptor\DocBlock\DescriptionDescriptor

Returns a longer description for this element.

Returns

?\phpDocumentor\Descriptor\DocBlock\DescriptionDescriptor —

setLocation()

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

Sets the file and location for this element.

Parameters

\phpDocumentor\Descriptor\FileDescriptor $file
int $line

getPath()

getPath() : string

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

Returns

string —

getLine()

getLine() : int

Returns the line number where this element may be found.

Returns

int —

getTags()

getTags() : \phpDocumentor\Descriptor\Collection<\phpDocumentor\Descriptor\Collection<\phpDocumentor\Descriptor\TagDescriptor>>

Returns all tags associated with this element.

Returns

\phpDocumentor\Descriptor\Collection<\phpDocumentor\Descriptor\Collection<\phpDocumentor\Descriptor\TagDescriptor>> —

__toString()

__toString() : string

Returns

string —

setProperties()

setProperties(\phpDocumentor\Descriptor\Collection<\phpDocumentor\Descriptor\PropertyDescriptor>  $properties) : void

Sets the properties associated with this trait.

Parameters

\phpDocumentor\Descriptor\Collection<\phpDocumentor\Descriptor\PropertyDescriptor> $properties

getProperties()

getProperties() : \phpDocumentor\Descriptor\Collection<\phpDocumentor\Descriptor\PropertyDescriptor>

Returns the properties associated with this trait.

Returns

\phpDocumentor\Descriptor\Collection<\phpDocumentor\Descriptor\PropertyDescriptor> —

getInheritedProperties()

getInheritedProperties() : \phpDocumentor\Descriptor\Collection<\phpDocumentor\Descriptor\PropertyDescriptor>

Returns all properties inherited from parent traits.

Returns

\phpDocumentor\Descriptor\Collection<\phpDocumentor\Descriptor\PropertyDescriptor> —

setMethods()

setMethods(\phpDocumentor\Descriptor\Collection<\phpDocumentor\Descriptor\MethodDescriptor>  $methods) : void

Sets all methods belonging to this trait.

Parameters

\phpDocumentor\Descriptor\Collection<\phpDocumentor\Descriptor\MethodDescriptor> $methods

getMethods()

getMethods() : \phpDocumentor\Descriptor\Collection<\phpDocumentor\Descriptor\MethodDescriptor>

Returns all methods belonging to this trait.

Returns

\phpDocumentor\Descriptor\Collection<\phpDocumentor\Descriptor\MethodDescriptor> —

getInheritedMethods()

getInheritedMethods() : \phpDocumentor\Descriptor\Collection<\phpDocumentor\Descriptor\MethodDescriptor>

Returns a list of all methods inherited from parent traits.

Returns

\phpDocumentor\Descriptor\Collection<\phpDocumentor\Descriptor\MethodDescriptor> —