ldc-le-gaulois-pro/app/Enums/ExpertiseProducts/ExpertiseProductPageEnum.php
Jérémy Munsch 3a0d4e9d20
PHPstan OK
2024-02-05 09:33:08 +01:00

29 lines
610 B
PHP

<?php
namespace App\Enums\ExpertiseProducts;
use App\Traits\Enums\BaseEnum;
enum ExpertiseProductPageEnum: int
{
use BaseEnum;
case duck = 0;
case turkey = 1;
case rabbit = 2;
case guineafowl = 3;
case chicken = 4;
/**
* Optionnal labels definition.
*
* @phpstan-ignore-next-line
*/
private const LABELS = [
self::duck->name => 'Canard',
self::turkey->name => 'Dinde',
self::rabbit->name => 'Lapin',
self::guineafowl->name => 'Pintade',
self::chicken->name => 'Poulet',
];
}