presseportale/app/Enums/Portal.php
Kevin Adametz 5b8bdf4182
Some checks are pending
linter / quality (push) Waiting to run
tests / ci (push) Waiting to run
12-05-2026 Frontend dev
2026-05-12 18:32:33 +02:00

19 lines
399 B
PHP

<?php
namespace App\Enums;
enum Portal: string
{
case Presseecho = 'presseecho';
case Businessportal24 = 'businessportal24';
case Both = 'both';
public function label(): string
{
return match ($this) {
self::Presseecho => 'Presseecho',
self::Businessportal24 => 'Businessportal24',
self::Both => 'Beide Portale',
};
}
}