ldc-boutique-cnc/app/Enums/PriceShowingMode.php

43 lines
758 B
PHP
Raw Permalink Normal View History

2021-11-03 17:22:35 +01:00
<?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
{
2022-09-03 16:56:16 +02:00
/**
* Enum values
*
* @return array
*/
2021-11-03 17:22:35 +01:00
protected static function values(): array
{
return [
'authenticated' => 'authenticated',
'guest' => 'guest',
];
}
2022-09-03 16:56:16 +02:00
/**
* Enum labels
*
* @return array
*/
2021-11-03 17:22:35 +01:00
protected static function labels(): array
{
return [
'authenticated' => __('Client Connecté'),
'guest' => __('Public'),
];
}
}