'Test', self::ENTWURF => 'Entwurf', self::ENFASSUNG => 'Endfassung', }; } public function getColor(): string|array|null { return match ($this) { self::TEST => 'gray', self::ENTWURF => 'primary', self::ENFASSUNG => 'success', }; } public function getIcon(): ?string { return match ($this) { self::TEST => 'lucide-file-cog', self::ENTWURF => 'lucide-file-pen', self::ENFASSUNG => 'lucide-file-check', }; } }