Stelle das U0-Fundament mit CMS, Mitgliedern und Filament bereit.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
89b35ac480
commit
2035c46edd
130 files changed
+18519
-50
No files matched your search
@@ -0,0 +1,19 @@
|
||||
<?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',
|
||||
};
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user