ldc-boutique-cnc/app/Enums/PriceShowingMode.php
2021-11-09 15:38:52 +01:00

32 lines
632 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 authenticated()
* @method static self guest()
*
*/
class PriceShowingMode extends BaseEnumRoutable
{
protected static function values(): array
{
return [
'authenticated' => 'authenticated',
'guest' => 'guest',
];
}
protected static function labels(): array
{
return [
'authenticated' => __('Client Connecté'),
'guest' => __('Public'),
];
}
}