initial commit
This commit is contained in:
17
app/Enums/IpPoolType.php
Normal file
17
app/Enums/IpPoolType.php
Normal file
@@ -0,0 +1,17 @@
|
||||
<?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',
|
||||
};
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user