ldc-startcoq/app/Enums/KeywordCategoryEnum.php

44 lines
1.7 KiB
PHP
Raw Permalink Normal View History

2023-02-23 10:26:11 +01:00
<?php
2023-02-23 16:23:00 +01:00
namespace App\Enums;
2023-02-23 10:26:11 +01:00
2023-06-21 10:24:56 +00:00
use App\Traits\Enums\BaseEnum;
2023-02-23 10:26:11 +01:00
2023-06-21 10:24:56 +00:00
enum KeywordCategoryEnum : string
{
use BaseEnum;
2023-02-23 10:26:11 +01:00
2023-06-21 10:24:56 +00:00
case ingredientPleasure = "ingredient_pleasure";
case ingredientPracticality = "ingredient_practicality";
case ingredientHealth = "ingredient_health";
case ingredienEthics = "ingredient_ethics";
case productPleasure = "product_pleasure";
case productShape = "product_shape";
case productPracticality = "product_practicality";
case productHealth = "product_health";
case productEthics = "product_ethics";
case packagingPleasure = "packaging_pleasure";
case packagingPracticality = "packaging_practicality";
case packagingEthics = "packaging_ethics";
case packagingDesign = "packaging_design";
2023-02-23 10:26:11 +01:00
2023-06-21 10:24:56 +00:00
/**
* Custom added functions definition
*/
private const LABELS = [
self::ingredientPleasure->name => 'IngredientPleasure',
self::ingredientPracticality->name => 'IngredientPracticality',
self::ingredientHealth->name => 'IngredientHealth',
self::ingredienEthics->name => 'IngredientEthics',
self::productPleasure->name => 'ProductPleasure',
self::productShape->name => 'ProductShape',
self::productPracticality->name => 'ProductPracticality',
self::productHealth->name => 'ProductHealth',
self::productEthics->name => 'ProductEthics',
self::packagingPleasure->name => 'PackagingPleasure',
self::packagingPracticality->name => 'PackagingPracticality',
self::packagingEthics->name => 'PackagingEthics',
self::packagingDesign->name => 'PackagingDesign',
];
2023-02-23 10:26:11 +01:00
}