<?php

namespace App\Domains\Ticket\Enums;

enum ValidityTimeType: string
{
    case TimeWindow = 'time_window';
    case FixedWindow = 'fixed_window';

    /** @return list<string> */
    public static function values(): array
    {
        return array_column(self::cases(), 'value');
    }
}
