Reflection for a constant (class constant or global constant). Provides the constant's name, resolved value type, deprecation status, and metadata. This is the base interface — ClassConstantReflection extends it with class-specific features (declaring class, value expression, native type).
| Methods | ||
|---|---|---|
public
|
getName(): string
|
# |
public
|
getValueType(): Type
|
# |
public
|
isDeprecated(): TrinaryLogic
|
# |
public
|
getDeprecatedDescription(): ?string
|
# |
public
|
isInternal(): TrinaryLogic
|
# |
public
|
getFileName(): ?string
|
# |
public
|
getAttributes(): list<AttributeReflection>
|
# |