<?php

declare(strict_types=1);

namespace App\Support\ReasonTranslation;

enum PlatformReasonFamily: string
{
    case Authorization = 'authorization';
    case Prerequisite = 'prerequisite';
    case Compatibility = 'compatibility';
    case Coverage = 'coverage';
    case Availability = 'availability';
    case Execution = 'execution';

    public function label(): string
    {
        return match ($this) {
            self::Authorization => 'Authorization',
            self::Prerequisite => 'Prerequisite',
            self::Compatibility => 'Compatibility',
            self::Coverage => 'Coverage',
            self::Availability => 'Availability',
            self::Execution => 'Execution',
        };
    }
}