<?php

namespace App\Enums;

enum VideoType: string
{
    case Highlight = 'highlight';
    case FullMatch = 'full_match';
    case Tournament = 'tournament';
    case Training = 'training';
    case Achievement = 'achievement';
    case Other = 'other';

    public function label(): string
    {
        return match ($this) {
            self::Highlight => __('enums.video_type.highlight'),
            self::FullMatch => __('enums.video_type.full_match'),
            self::Tournament => __('enums.video_type.tournament'),
            self::Training => __('enums.video_type.training'),
            self::Achievement => __('enums.video_type.achievement'),
            self::Other => __('enums.video_type.other'),
        };
    }
}
