src/Cache/ArrayExpiringCache.php
public function delete($key)
    {
        $key = $this->processKey($key);
        if ($this->existInternal($key)) {
            $tags = $this->storage[$key][$this->tagsKey];
            unset($this->storage[$key]);
            unset($this->_timestamps[$key]);
            foreach ($tags as $tag) {
                unset($this->tags[$tag][$key]);
            }
        }
        return resolve(true);
    }
public function delete($key)
    {
        $key = $this->processKey($key);
        if ($this->existInternal($key)) {
            $tags = $this->storage[$key][$this->tagsKey];
            unset($this->storage[$key]);
            unset($this->_timestamps[$key]);
            foreach ($tags as $tag) {
                unset($this->tags[$tag][$key]);
            }
        }
        return resolve(true);
    }
{@inheritdoc}