Files
LarsandCursor 2035c46edd
Deploy Test / test (push) Successful in 2m25s
Deploy Test / deploy (push) Failing after 25s
Stelle das U0-Fundament mit CMS, Mitgliedern und Filament bereit.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-15 08:32:14 +01:00

20 lines
375 B
PHP

<?php
namespace App\Domain\Identity;
enum AccountStatus: string
{
case Aktiv = 'aktiv';
case Gesperrt = 'gesperrt';
case Geloescht = 'geloescht';
public function label(): string
{
return match ($this) {
self::Aktiv => 'Aktiv',
self::Gesperrt => 'Gesperrt',
self::Geloescht => 'Gelöscht',
};
}
}