feat: add enum

This commit is contained in:
Maël Gangloff
2024-07-11 13:15:04 +02:00
parent fbb14df399
commit f6bd04ba17
11 changed files with 206 additions and 162 deletions

18
src/Config/DomainRole.php Normal file
View File

@@ -0,0 +1,18 @@
<?php
namespace App\Config;
enum DomainRole: string
{
case Registrant = 'registrant';
case Technical = 'technical';
case Administrative = 'administrative';
case Abuse = 'abuse';
case Billing = 'billing';
case Registrar = 'registrar';
case Reseller = 'reseller';
case Sponsor = 'sponsor';
case Proxy = 'proxy';
case Notifications = 'notifications';
case Noc = 'noc';
}