get_class_constant_type

Function get_class_constant_type 

Source
pub fn get_class_constant_type<'a>(
    codebase: &'a CodebaseMetadata,
    fq_class_name: &str,
    constant_name: &str,
) -> Option<Cow<'a, TUnion>>
Expand description

Retrieves the type of a class constant, considering type hints and inferred types. Returns None if the class or constant doesn’t exist, or type cannot be determined.