<?php

namespace App\Enums;

enum VideoProvider: string
{
    case YouTube = 'youtube';
    case Twitch = 'twitch';
    case Vimeo = 'vimeo';

    public function label(): string
    {
        return match ($this) {
            self::YouTube => 'YouTube',
            self::Twitch => 'Twitch',
            self::Vimeo => 'Vimeo',
        };
    }
}
