• File: EnumInterface.php
  • Full Path: /home/bravrvjk/itiministry.org/wp-content/plugins/give/src/Log/ValueObjects/EnumInterface.php
  • Date Modified: 11/24/2021 4:55 AM
  • File size: 451 bytes
  • MIME-type: text/x-php
  • Charset: utf-8
<?php

namespace Give\Log\ValueObjects;

interface EnumInterface
{
    /**
     * Get value
     *
     * @return string|null
     */
    public function getValue();

    /**
     * Get default value
     *
     * @return string
     */
    public static function getDefault();

    /**
     * Check if Enum is equal with the passed variable
     *
     * @param mixed $value
     *
     * @return bool
     */
    public function equalsTo($value);
}