src/Enum.php
static function findValue(string $key)
    {
        return self::hasKey($key)
            ? self::$keyToValueMap[static::class][$key]
            : null;
    }
static function findValue(string $key)
    {
        return self::hasKey($key)
            ? self::$keyToValueMap[static::class][$key]
            : null;
    }
static function findValue ( string $ key ) { return self :: hasKey ( $ key ) ? self :: $ keyToValueMap [ static :: class ] [ $ key ] : null ; }
Attempt to find a value by its key. Returns NULL on failure.
Attempt to find a value by its key . Returns NULL on failure .