23 lines
411 B
PHP
23 lines
411 B
PHP
<?php
|
|
|
|
namespace App\Enums\HistoricalMilestones;
|
|
|
|
use App\Traits\Enums\BaseEnum;
|
|
|
|
enum HistoricalMilestonePosition: int
|
|
{
|
|
use BaseEnum;
|
|
|
|
case topLeft = 1;
|
|
case topRight = 2;
|
|
|
|
/**
|
|
* Optionnal labels definition.
|
|
*
|
|
* @phpstan-ignore-next-line
|
|
*/
|
|
private const LABELS = [
|
|
self::topLeft->name => 'Haut gauche',
|
|
self::topRight->name => "Haut droit",
|
|
];
|
|
}
|