Delete a key from the cache

@param string $key Identifier for the data
@return bool True if the value was successfully deleted, false if it didn't exist or couldn't be removed
6885
public function delete($key)
    {
        $key = $this->_key($key);

        return $this->_Redis->delete($key) > 0;
    }
741873
public function remove($key)
    {
        if (!$this->isEnabled() || !$this->has($key)) {
            return false;
        }

        eaccelerator_rm($this->prefix() . $key);

        return true;
    }
743275
public function delete(string $key): bool
    {
        $func = self::$type . '_delete';
        $func($key);
        return parent::delete($key);
    }
55778
public function remove($key) {
        $key = $this->conf['keyPrefix'] . $key;
        X::logger()->trace("MCache remove $key");
        return $this->cache->delete($key);
    }
1299143
public function delete($key)
    {
        if ($this->has($key)) {
            return shm_remove_var($this->shm, $this->shm_key($key));
        } else {
            return false;
        }
    }
880129
public function delete(string $key): bool
    {
        /**
         * @var $handle \Memcache|\Memcached
         */
        $handle = $this->_handle;
        $ret = $handle->delete($key);
        Debug::setCache(static::$type, 'delete', $key, $ret);
        return $ret;
    }
1277408
public function delete($key)
    {
        $res = $this->deleteFile($key);
        if ($res === false) {
            return false;
        }

        return $this->deleteStore($key);
    }
313405
function del($key)
    {
        $index = array_search($key, $this->keys);

        if ($index !== false) {
            unset($this->keys[$index]);
            unset($this->values[$index]);
            $this->_reflow();
            return true;
        }
        return false;
    }
1081104
public function del($key)
    {
        if ($this->isMappedKey($key)) {
            return false;
        } else {
            $success = true;
            if ($this->hasMaxSize()) {
                $success = $this->deleteMappedKey($key);
            }
            return $success && $this->getDriver()->del($key);
        }
    }
625021
public function purge($key)
    {
        $cacheFile = $this->getCachePath($key);

        clearstatcache(true, $cacheFile);
        if (file_exists($cacheFile)) {
            unset($cacheFile);

            return true;
        }

        return false;
    }
1000012
public function remove($key)
	{
		$this->connect();

		$this->driver->delete($key);

		$rc = $this->driver->getResultCode();

		if ($rc !== \Memcached::RES_SUCCESS)
		{
			return false;
		}

		return true;
	}
437740
public function delete($key)
    {
        $key = $this->_key($key);
        unset($this->data[$key]);

        return true;
    }
69886
public function delete($key) {
        if (!is_array($key)) {
            $key = array('key' => $key);
        }
        $key = $key['key'];
        $result = isset($this->store[$key]);
        unset($this->store[$key]);
        if ($this->maxsize !== false) {
            $this->storecount--;
        }
        return $result;
    }
430857
public function delete($key)
    {
        if ($this->has($key)) {
            unset($this->values[$key]);

            return true;
        }

        return false;
    }
252642
public function delete(string $key): bool
    {
        $sql =  'DELETE FROM #__' . $this->table
                . " WHERE `" . $this->keyField
                . "`='" . $this->db->addEscape($key) . "'";
        return $this->db->query($sql);
    }
663871
public function removeKey($key)
    {
        if ($this->hasKey($key)) {
            unset($this->container[$key]);
            return true;
        } else {
            return false;
        }
    }
722425
public function delete(string $key): bool
    {
        Redis::delete(self::PREFIX . $key);
        return parent::delete($key);
    }