<?php
declare(strict_types=1);

namespace WP_AUX\Enum;

use WP_AUX\Interfaces\OptionsEnumInterface;
use WP_AUX\Traits\EnumTraits;

enum CalloutImageAlignmentEnum: string implements OptionsEnumInterface
{
  use EnumTraits;

  case Left = 'left';
  case Right = 'right';

  public const SETTING_LABEL = 'Callout Image Alignment';

  public function label(): string
  {
    return match($this) {
      self::Left => 'Left',
      self::Right => 'Right',
    };
  }
}
