src/LinguaLeo/Cache/Provider/HotCache.php
public function add($key, $data, $ttl = 0)
    {
        if (isset($this->cache[$key])) {
            return false;
        }

        $this->cache[$key] = $data;
        return true;
    }
public function add($key, $data, $ttl = 0)
    {
        if (isset($this->cache[$key])) {
            return false;
        }

        $this->cache[$key] = $data;
        return true;
    }
{@inheritdoc}