39 lines
894 B
PHP
39 lines
894 B
PHP
<?php
|
|
|
|
namespace App\Enums;
|
|
|
|
use Kwaadpepper\Enum\BaseEnumRoutable;
|
|
|
|
/**
|
|
* This is an enumeration class,
|
|
* the following methods are its possible values
|
|
*
|
|
* @method static self none()
|
|
* @method static self loue()
|
|
* @method static self legaulois()
|
|
* @method static self legauloispro()
|
|
* @method static self marie()
|
|
* @method static self tregalette()
|
|
* @method static self esprirestauration()
|
|
*
|
|
*/
|
|
class ProductBrand extends BaseEnumRoutable
|
|
{
|
|
/**
|
|
* Enum labels
|
|
*
|
|
* @return array
|
|
*/
|
|
public static function labels()
|
|
{
|
|
return [
|
|
'none' => 'Sans marque',
|
|
'loue' => 'Loué',
|
|
'legaulois' => 'Le Gaulois',
|
|
'legauloispro' => 'Le Gaulois Professionnel',
|
|
'marie' => 'Marie',
|
|
'tregalette' => 'Trégalette',
|
|
'esprirestauration' => 'Espri Restauration',
|
|
];
|
|
}
|
|
}
|