phpDocumentor

EnumInterface extends ElementInterface, TypeInterface

Common interface representing the description of a class.

Tags
see
NamespaceInterface

Classes may be contained in namespaces.

see
FileInterface

Classes may be defined in a file.

Table of Contents

Methods

__toString()  : string
getBackedType()  : Type|null
getCases()  : Collection<string|int, EnumCaseInterface>
getConstants()  : Collection<string|int, ConstantInterface>
getDescription()  : DescriptionDescriptor
Returns the description for this element.
getEndLocation()  : Location|null
Returns the end location where the definition for this element can be found.
getErrors()  : Collection<string|int, Error>
getFullyQualifiedStructuralElementName()  : Fqsen|null
Returns the Fully Qualified Structural Element Name (FQSEN) for this element.
getInheritedMethods()  : Collection<string|int, MethodInterface>
getInterfaces()  : Collection<string|int, InterfaceInterface|Fqsen>
getInterfacesIncludingInherited()  : Collection<string|int, InterfaceInterface|Fqsen>
getLine()  : int
Returns the line number where this element may be found.
getMethods()  : Collection<string|int, MethodInterface>
getName()  : string
Returns the local name for this element.
getNamespace()  : NamespaceInterface|string
Returns the namespace for this element (defaults to global "\")
getPackage()  : PackageInterface|null
Returns the package name for this element.
getPath()  : string
Returns the file location for this element relative to the project root.
getSummary()  : string
Returns the summary describing this element.
getTags()  : Collection<string|int, Collection<string|int, TagDescriptor>>
Returns all tags associated with this element.
getUsedTraits()  : Collection<string|int, TraitInterface|Fqsen>
Returns the traits used by this class.
setBackedType()  : void
setCases()  : void
setConstants()  : void
setDescription()  : void
Sets a longer description for this element.
setFullyQualifiedStructuralElementName()  : void
Sets the Fully Qualified Structural Element Name (FQSEN) for this element.
setInterfaces()  : void
setLocation()  : void
Sets the file and location for this element.
setMethods()  : void
setName()  : void
Sets the local name for this element.
setSummary()  : void
Sets a summary describing this element.
setUsedTraits()  : void
Sets a collection of all traits used by this class.

Methods

__toString()

public __toString() : string
Return values
string

getBackedType()

public getBackedType() : Type|null
Return values
Type|null

getEndLocation()

Returns the end location where the definition for this element can be found.

public getEndLocation() : Location|null
Return values
Location|null

getFullyQualifiedStructuralElementName()

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

public getFullyQualifiedStructuralElementName() : Fqsen|null
Return values
Fqsen|null

getLine()

Returns the line number where this element may be found.

public getLine() : int
Tags
see
getPath()

to find out in which file this element is found.

Return values
int

getName()

Returns the local name for this element.

public getName() : string
Return values
string

getPath()

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

public getPath() : string
Return values
string

getSummary()

Returns the summary describing this element.

public getSummary() : string
Return values
string

setBackedType()

public setBackedType(Type|null $type) : void
Parameters
$type : Type|null

setFullyQualifiedStructuralElementName()

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

public setFullyQualifiedStructuralElementName(Fqsen $name) : void
Parameters
$name : Fqsen

setName()

Sets the local name for this element.

public setName(string $name) : void
Parameters
$name : string

setSummary()

Sets a summary describing this element.

public setSummary(string $summary) : void
Parameters
$summary : string

        
On this page

Search results