ldc-cocotte/app/Enums/PriceShowingMode.php
2025-01-13 15:43:42 +01:00

42 lines
774 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
{
/**
* Enum values
*
* @return array
*/
protected static function values(): array
{
return [
'authenticated' => 'authenticated',
'guest' => 'guest',
];
}
/**
* Enum labels
*
* @return array
*/
protected static function labels(): array
{
return [
'authenticated' => __('Client Connecté'),
'guest' => __('Public'),
];
}
}