ldc-cocotte/app/Enums/SalarieSite.php
2023-02-14 11:38:46 +01:00

66 lines
1.5 KiB
PHP

<?php
namespace App\Enums;
use Kwaadpepper\Enum\BaseEnumRoutable;
/**
* This is an enumeration class,
* the following methods are its possible values
*
* @method static self slhp()
* @method static self ldcser()
* @method static self ldcvol()
* @method static self ldcter()
* @method static self ldctra()
* @method static self ldccav()
* @method static self ldchol()
* @method static self cepacpe()
* @method static self dde()
* @method static self dpe()
*
*/
class SalarieSite extends BaseEnumRoutable
{
/**
* Enum values
*
* @return array
*/
protected static function values(): array
{
return [
'slhp' => 'SLHP',
'ldcser' => 'LDCSER',
'ldcvol' => 'LDCVOL',
'ldcter' => 'LDCTER',
'ldctra' => 'LDCTRA',
'ldccav' => 'LDCCAV',
'ldchol' => 'LDCHOL',
'cepacpe' => 'CEPACP',
'dde' => 'DDE',
'dpe' => 'DPE',
];
}
/**
* Enum labels
*
* @return array
*/
public static function labels()
{
return [
'slhp' => 'Holdings',
'ldcser' => 'LDC Services',
'ldcvol' => 'LDC Sablé',
'ldcter' => 'LDC Intenational',
'ldctra' => 'LDC Traiteur',
'ldccav' => 'Cavol',
'ldchol' => 'LDC Holding',
'cepacpe' => 'CPE-CEPA',
'dde' => 'Unité Dinde',
'dpe' => 'DPE',
];
}
}