feat(ISP config web and webhost imports)
All checks were successful
Deploy Roxane to Preprod / deploy (push) Successful in 43s
All checks were successful
Deploy Roxane to Preprod / deploy (push) Successful in 43s
This commit is contained in:
19
app/Enums/IspconfigType.php
Normal file
19
app/Enums/IspconfigType.php
Normal file
@@ -0,0 +1,19 @@
|
||||
<?php
|
||||
|
||||
namespace App\Enums;
|
||||
|
||||
enum IspconfigType: string
|
||||
{
|
||||
case MAIL = 'mail';
|
||||
case WEB = 'web';
|
||||
case OTHER = 'other';
|
||||
|
||||
public function label(): string
|
||||
{
|
||||
return match ($this) {
|
||||
self::MAIL => 'Email',
|
||||
self::WEB => 'Hébergement',
|
||||
self::OTHER => 'Autre',
|
||||
};
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user