public static function castClassConstant(\ReflectionClassConstant $c, array $a, Stub $stub, bool $isNested) : array { $a[Caster::PREFIX_VIRTUAL . 'modifiers'] = implode(' ', \Reflection::getModifierNames($c->getModifiers())); $a[Caster::PREFIX_VIRTUAL . 'value'] = $c->getValue(); self::addAttributes($a, $c); return $a; }