2023-12-19 15:09:12 +00:00
|
|
|
|
<?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
|
2024-01-26 16:08:12 +01:00
|
|
|
|
*
|
|
|
|
|
|
* @phpstan-ignore-next-line
|
2023-12-19 15:09:12 +00:00
|
|
|
|
*/
|
|
|
|
|
|
private const LABELS = [
|
|
|
|
|
|
self::customerService->name => 'Service consommateurs',
|
|
|
|
|
|
self::ideasSuggestions->name => 'Idées & suggestions',
|
|
|
|
|
|
self::informationRequest->name => 'Demande d’informations',
|
|
|
|
|
|
self::other->name => 'Divers',
|
|
|
|
|
|
];
|
|
|
|
|
|
}
|