<?php

namespace App\Enums;

enum TimelineStatus: string
{
    case Active = 'active';
    case Archived = 'archived';

    public function label(): string
    {
        return match ($this) {
            self::Active => __('enums.timeline_status.active'),
            self::Archived => __('enums.timeline_status.archived'),
        };
    }
}
