Files
roxane/app/Enums/IspconfigType.php
Nebulae fb6c62f19c
All checks were successful
Deploy Roxane to Preprod / deploy (push) Successful in 43s
feat(ISP config web and webhost imports)
2025-12-31 11:21:20 +01:00

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',
};
}
}