18 lines
297 B
PHP
18 lines
297 B
PHP
<?php
|
|
|
|
namespace App\Enums;
|
|
|
|
enum IpPoolType: string
|
|
{
|
|
case Private = 'private';
|
|
case Public = 'public';
|
|
|
|
public function label(): string
|
|
{
|
|
return match ($this) {
|
|
self::Private => 'Privat (intern)',
|
|
self::Public => 'Öffentlich',
|
|
};
|
|
}
|
|
}
|