26 lines
588 B
PHP
26 lines
588 B
PHP
|
|
<?php
|
|||
|
|
|
|||
|
|
namespace App\Enums\Contact;
|
|||
|
|
|
|||
|
|
use App\Traits\Enums\BaseEnum;
|
|||
|
|
|
|||
|
|
enum ObjectEnum: int
|
|||
|
|
{
|
|||
|
|
use BaseEnum;
|
|||
|
|
|
|||
|
|
case customerService = 1;
|
|||
|
|
case ideasSuggestions = 2;
|
|||
|
|
case informationRequest = 3;
|
|||
|
|
case other = 4;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* Optionnal labels definition
|
|||
|
|
*/
|
|||
|
|
private const LABELS = [
|
|||
|
|
self::customerService->name => 'Service consommateurs',
|
|||
|
|
self::ideasSuggestions->name => 'Idées & suggestions',
|
|||
|
|
self::informationRequest->name => 'Demande d’informations',
|
|||
|
|
self::other->name => 'Divers',
|
|||
|
|
];
|
|||
|
|
}
|