# give/4.16.9/src/Log/ValueObjects/EnumInterface.php

GiveWP – Donation Plugin and Fundraising Platform, version 4.16.9. 30 lines.

- Page: https://pluginprobe.com/plugins/give/4.16.9/code/src/Log/ValueObjects/EnumInterface.php
- Raw: https://pluginprobe.com/plugins/give/4.16.9/raw/src/Log/ValueObjects/EnumInterface.php
- Modified: 2021-11-23T23:55:18+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/give/4.16.9/code/src/Log/ValueObjects/EnumInterface.php#L10-L20`.

```php
<?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);
}

```
