Methods |
public
|
getName(): non-empty-string
|
#
|
public
|
getValueExpression(): Expr
Check ReflectionEnum::isBacked() being true first to avoid throwing exception.
Check ReflectionEnum::isBacked() being true first to avoid throwing exception.
Throws
|
#
|
public
|
getValue(): int|string
|
#
|
public
|
getStartLine(): positive-int
|
#
|
public
|
getEndLine(): positive-int
|
#
|
public
|
getStartColumn(): positive-int
|
#
|
public
|
getEndColumn(): positive-int
|
#
|
public
|
getDeclaringEnum(): ReflectionEnum
|
#
|
public
|
getDeclaringClass(): ReflectionClass
|
#
|
public
|
getDocComment(): non-empty-string|null
|
#
|
public
|
isDeprecated(): bool
|
#
|
public
|
getAttributes(): list<ReflectionAttribute>
|
#
|
public
|
getAttributesByName(string $name): list<ReflectionAttribute>
|
#
|
public
|
getAttributesByInstance(class-string $className): list<ReflectionAttribute>
|
#
|
public
|
__toString(): non-empty-string
|
#
|