value]; } /** * 安全地从值创建枚举实例 */ public static function tryFromValue(int $value): ?self { return self::tryFrom($value); } }