Files
fotospiel-app/app/Enums/TenantAnnouncementAudience.php
Codex Agent 8f13465415
Some checks failed
linter / quality (push) Has been cancelled
tests / ci (push) Has been cancelled
tests / ui (push) Has been cancelled
Implement tenant announcements and audit log fixes
2026-01-02 14:19:46 +01:00

20 lines
396 B
PHP

<?php
namespace App\Enums;
enum TenantAnnouncementAudience: string
{
case ALL = 'all';
case TENANTS = 'tenants';
case SEGMENTS = 'segments';
public function label(): string
{
return match ($this) {
self::ALL => __('Alle Tenants'),
self::TENANTS => __('Ausgewählte Tenants'),
self::SEGMENTS => __('Segmente'),
};
}
}