All checks were successful
Deploy Roxane to Preprod / deploy (push) Successful in 43s
20 lines
339 B
PHP
20 lines
339 B
PHP
<?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',
|
|
};
|
|
}
|
|
}
|