V2.1: Kommunikation nach Medium, Absicht und Wirkung (Fälle E/F)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
LarsandClaude Sonnet 5.5 committed 2026-11-05 07:57:54 +01:00
1 parent 8442d0a3d8
commit 8026eceab4
13 files changed
+633 -2

No files matched your search

+27
View File
@@ -0,0 +1,27 @@
<?php
namespace App\Enums;
use Filament\Support\Contracts\HasLabel;
/**
* The communication medium a message came through (V2.1). It says nothing about bindingness or business meaning.
* WhatsApp and Chat exist as test cases of the architecture; no provider is connected.
*/
enum Medium: string implements HasLabel
{
case Email = 'email';
case Form = 'form';
case WhatsApp = 'whatsapp';
case Chat = 'chat';
public function getLabel(): string
{
return match ($this) {
self::Email => 'E-Mail',
self::Form => 'Formular',
self::WhatsApp => 'WhatsApp',
self::Chat => 'Chat',
};
}
}