<?php

declare(strict_types=1);

namespace NoahVet\Reef\Domain\Common;

interface EnumInterface
{
    public static function getEnumFromName(string $name): object;

    public static function getEnumFromValue(int|string $value): object;

    public static function getNameFromValue(int|string $value): string;

    public static function getValueFromName(string $name): string|int;

    public static function hasName(mixed $name): bool;
}
