Interface PHPStan\Reflection\ConstantReflection

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