'Menunggu Verifikasi', self::APPROVED => 'Disetujui', self::NEED_REVISION => 'Perlu Revisi', self::REJECTED => 'Ditolak', }; } public function getColor(): string|array|null { return match ($this) { self::PENDING => 'warning', self::APPROVED => 'success', self::NEED_REVISION => 'info', self::REJECTED => 'danger', }; } public static function options(): array { return collect(self::cases()) ->mapWithKeys(fn ($case) => [$case->value => $case->getLabel()]) ->toArray(); } }