'Menunggu', self::ASSIGNMENT => 'Media Order', self::PAYMENT => 'Pembayaran', self::COMPLETED => 'Selesai', }; } public function getColor(): string|array|null { return match ($this) { self::PENDING => 'warning', self::ASSIGNMENT => 'info', self::PAYMENT => 'slate', self::COMPLETED => 'success', }; } public static function options(): array { return collect(self::cases()) ->mapWithKeys(fn ($case) => [$case->value => $case->getLabel()]) ->toArray(); } }