Gebuendelt, da ueber gemeinsame lang-/Service-Dateien verschraenkt: - Kontakt-Nachrichten: contact_messages-Tabelle + Model/Enums/Factory, Admin-Queue (livewire/admin/contact-messages), ContactController persistiert das Anliegen zusaetzlich zur Brand-Mail - Page-Data-Cache (Services/Web/*PageData) + web-archive-Indizes auf press_releases - Validierungs-Feedback + Company-Portal-Restriction (Feature-Tests) - i18n-Auslagerung lang/de|en (auth, passwords, validation, static) Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
24 lines
552 B
PHP
24 lines
552 B
PHP
<?php
|
|
|
|
namespace App\Enums;
|
|
|
|
enum ContactMessageTopic: string
|
|
{
|
|
case Contact = 'contact';
|
|
case BugReport = 'bug_report';
|
|
case PressReleaseReport = 'press_release_report';
|
|
case Feedback = 'feedback';
|
|
|
|
/**
|
|
* Interne (Admin-)Bezeichnung.
|
|
*/
|
|
public function label(): string
|
|
{
|
|
return match ($this) {
|
|
self::Contact => 'Kontaktaufnahme',
|
|
self::BugReport => 'Fehlermeldung',
|
|
self::PressReleaseReport => 'PM-Meldung',
|
|
self::Feedback => 'Feedback',
|
|
};
|
|
}
|
|
}
|