ldc-showroom-bo/app/Enums/Theme/BootstrapThemeEnum.php

24 lines
406 B
PHP
Raw Permalink Normal View History

2024-01-05 11:28:16 +01: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-30 11:51:13 +01:00
*
* @phpstan-ignore-next-line
2024-01-05 11:28:16 +01:00
*/
private const LABELS = [
self::light->name => 'enums.bootstrap-theme.light',
self::dark->name => 'enums.bootstrap-theme.dark',
];
}