<?php

namespace Pixalia\ImageAssistant\Base\Enum\ImageCheck;

if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

enum ImageCheckResultStatusEnum : string {
	case OK = 'ok';
	case WARNING = 'warning';
	case NG = 'ng';
	case UNCHECKED = 'unchecked';

	public function getEmoji(): string {
		return match($this) {
			self::OK => '✅',
			self::WARNING => '⚠️',
			self::NG => '❌',
			self::UNCHECKED => '❓',
		};
	}
}
