Files
fewo-stommer/app/Enums/ChannelStatus.php
Lars 783068501c
Deploy FeWo mit PipelineManager / deploy (push) Successful in 2m33s
Generische iCal-Kanäle mit Bestandsklärung und sicheren Exporten bereitstellen
2026-10-27 17:14:45 +01:00

22 lines
429 B
PHP

<?php
namespace App\Enums;
use Filament\Support\Contracts\HasLabel;
enum ChannelStatus: string implements HasLabel
{
case Setup = 'setup';
case Active = 'active';
case Paused = 'paused';
public function getLabel(): string
{
return match ($this) {
self::Setup => 'Noch nicht eingerichtet',
self::Active => 'Aktiv',
self::Paused => 'Pausiert',
};
}
}