ldc-agis/app/Enums/Contact/ObjectEnum.php
2023-12-19 15:09:12 +00:00

25 lines
588 B
PHP
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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