ldc-legaulois/app/Enums/Theme/BootstrapThemeEnum.php

26 lines
486 B
PHP
Raw Permalink Normal View History

2024-01-10 14:49:46 +01:00
<?php
namespace App\Enums\Theme;
use App\Traits\Enums\BaseEnum;
enum BootstrapThemeEnum: int
{
use BaseEnum;
case light = 1;
case dark = 2;
case beige = 3;
2024-01-10 14:49:46 +01:00
/**
* Optionnal labels definition
2024-01-30 10:43:25 +01:00
*
* @phpstan-ignore-next-line
2024-01-10 14:49:46 +01:00
*/
private const LABELS = [
self::light->name => 'enums.bootstrap-theme.light',
self::dark->name => 'enums.bootstrap-theme.dark',
self::beige->name => 'enums.bootstrap-theme.beige',
2024-01-10 14:49:46 +01:00
];
}