Add event module

This commit is contained in:
Philipp Lang 2023-11-16 12:14:14 +01:00 committed by philipp lang
parent d692cf3bdf
commit ae679641d7
1 changed files with 2 additions and 0 deletions

View File

@ -7,12 +7,14 @@ enum Module: string
case BILL = 'bill'; case BILL = 'bill';
case COURSE = 'course'; case COURSE = 'course';
case EVENT = 'event';
public function title(): string public function title(): string
{ {
return match ($this) { return match ($this) {
static::BILL => 'Zahlungs-Management', static::BILL => 'Zahlungs-Management',
static::COURSE => 'Ausbildung', static::COURSE => 'Ausbildung',
static::EVENT => 'Veranstaltungen',
}; };
} }