value); } /** * 콘솔 출력용 색상명을 반환합니다. * * @return string Symfony 콘솔 색상명 */ public function consoleColor(): string { return match ($this) { self::Healthy => 'green', self::Degraded => 'yellow', self::Stale => 'red', self::Skipped => 'gray', }; } /** * 모든 케이스의 string 값 목록. * * @return array */ public static function allValues(): array { return array_column(self::cases(), 'value'); } }