'Entwurf', self::Pending => 'In Prüfung', self::Correction => 'Korrektur nötig', self::Active => 'Freigegeben', self::Archived => 'Archiviert', self::Sold => 'Verkauft', }; } public function color(): string { return match ($this) { self::Draft => 'yellow', self::Pending => 'blue', self::Correction => 'orange', self::Active => 'green', self::Archived => 'zinc', self::Sold => 'red', }; } }