\phpDocumentor\DescriptorDescriptor

Base class for descriptors containing the most used options.

Summary

Methods
Constants
getName()
setName()
getDescription()
setDescription()
No constants found
No protected methods found
N/A
No private methods found
N/A

Methods

getName()

getName() : string

Returns the local name for this element.

Returns

string —

setName()

setName(string  $name) : void

Sets the local name for this element.

Parameters

string $name

getDescription()

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

Returns the description for this element.

This method will automatically attempt to inherit the parent's description if this one has none.

Returns

\phpDocumentor\Descriptor\DocBlock\DescriptionDescriptor —

setDescription()

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

Sets a longer description for this element.

Parameters

\phpDocumentor\Descriptor\DocBlock\DescriptionDescriptor $description