26 lines
595 B
PHP
26 lines
595 B
PHP
|
|
<?php
|
||
|
|
|
||
|
|
declare(strict_types=1);
|
||
|
|
|
||
|
|
namespace Domain\Models\ValueObjects\Recipes;
|
||
|
|
|
||
|
|
use Uwil\LaravelCommon\Traits\Enums\BaseEnum;
|
||
|
|
|
||
|
|
enum Inspiration: string
|
||
|
|
{
|
||
|
|
use BaseEnum;
|
||
|
|
|
||
|
|
case WORLD_COOKING = 'World cooking';
|
||
|
|
case FRENCH_COOKING = 'French cooking';
|
||
|
|
case PROTEINIC_COOKING = 'Proteinic cooking';
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Optionnal labels definition.
|
||
|
|
*/
|
||
|
|
private const LABELS = [
|
||
|
|
self::WORLD_COOKING->name => 'Cuisine du monde',
|
||
|
|
self::FRENCH_COOKING->name => 'Cuisine française',
|
||
|
|
self::PROTEINIC_COOKING->name => 'Cuisine protéinée',
|
||
|
|
];
|
||
|
|
}
|