FunctionInterface

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

Descriptor representing a global function in a file.

package

Default

Methods

Returns the arguments related to this function.

getArguments() : \phpDocumentor\Descriptor\Collection

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

Sets the arguments related to this function.

setArguments(\phpDocumentor\Descriptor\Collection $arguments) : void

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