ReflectionClass::getTypeConstants

public function getTypeConstants(): varray<ReflectionTypeConstant>;