12-05-2026 Frontend dev
This commit is contained in:
parent
405df0a122
commit
5b8bdf4182
779 changed files with 480564 additions and 6241 deletions
19
app/Enums/Portal.php
Normal file
19
app/Enums/Portal.php
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
<?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',
|
||||
};
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue