19 lines
399 B
PHP
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',
|
|
};
|
|
}
|
|
}
|