src/Cache/ArrayCache.php
public function set($key, $value, $ttl = null, $tags = [])
    {
        $key = $this->processKey($key);
        $this->storage[$key] = $value;
        $this->addKeyTags($key, $tags);
        return resolve(true);
    }
public function set($key, $value, $ttl = null, $tags = [])
    {
        $key = $this->processKey($key);
        $this->storage[$key] = $value;
        $this->addKeyTags($key, $tags);
        return resolve(true);
    }
{@inheritdoc}