CKeditor + word counter + Image Input + Taggable VUE3 Better Xss Sanitizer Handle Video Youtube + Image Upload + Inline Image from url Better Image Input component with reset, easizer resize Full Responsive BO
41 lines
714 B
PHP
41 lines
714 B
PHP
<?php
|
|
|
|
namespace App\Enums\Sliders;
|
|
|
|
use Kwaadpepper\Enum\BaseEnum;
|
|
|
|
/**
|
|
* @method static self left()
|
|
* @method static self center()
|
|
* @method static self right()
|
|
*/
|
|
final class SliderPosition extends BaseEnum
|
|
{
|
|
/**
|
|
* Enum values
|
|
*
|
|
* @return array
|
|
*/
|
|
protected static function values(): array
|
|
{
|
|
return [
|
|
'left' => 0,
|
|
'center' => 1,
|
|
'right' => 2
|
|
];
|
|
}
|
|
|
|
/**
|
|
* Enum labels
|
|
*
|
|
* @return array
|
|
*/
|
|
protected static function labels(): array
|
|
{
|
|
return [
|
|
'left' => trans('Gauche'),
|
|
'center' => trans('Centré'),
|
|
'right' => trans('Droite')
|
|
];
|
|
}
|
|
}
|