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

24 lines
362 B
PHP
Raw Permalink Normal View History

2023-12-19 15:09:12 +00:00
<?php
namespace App\Enums\Theme;
use App\Traits\Enums\BaseEnum;
enum BootstrapThemeEnum: int
{
use BaseEnum;
case light = 1;
case dark = 2;
/**
* Optionnal labels definition
2024-01-26 16:08:12 +01:00
*
* @phpstan-ignore-next-line
2023-12-19 15:09:12 +00:00
*/
private const LABELS = [
self::light->name => 'Light',
self::dark->name => 'Dark',
];
}