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