@param string $key

@return void
772277
public function forget(string $key)
    {
        $cacheKey = $this->cacheKeys[$key] ?? null;
        if (!empty($cacheKey)) {
            Cache::forget($cacheKey);
        }
    }
129942
public function delete($key)
    {
        $this->setScope($key);
        parent::delete($key);
        /** @noinspection PhpInternalEntityUsedInspection */
        $this->key = null;
    }
474793
public function delete($key)
    {
        $sth = $this->pdo->prepare(
            "DELETE FROM sessions WHERE id = :id"
        );

        $sth->bindValue(':id', $key, \PDO::PARAM_INT);
        $sth->execute();
    }
618523
public function offsetUnset($key)
	{
		if (isset($this->jar[$key]))
		{
			$this->jar[$key]->delete();
		}
		elseif ($this->parentEnabled)
		{
			$this->parent->delete($key);
		}
	}
820925
public function remove($key)
    {
        $keyGen = $this->generateKey($key);
        $this->cache->remove($keyGen);
        @unlink($this->getFilePath($keyGen));
    }
289502
public function delete($key)
        {
            if (!$this->enabled) return;

            switch ($this->type) {
                case self::TYPE_APC:
                    apc_delete($key);
                    break;
                case self::TYPE_FILE:
                    $filename = $this->path . $key . '.cache';
                    unlink($filename);
            }
        }
902663
public function do_delete($key)
    {
        /** @var \ManaPHP\DbInterface $db */
        $db = $this->_di->getShared($this->_db);
        $db->delete($this->_source, ['hash' => md5($key)]);
    }
1145327
public function forget($key)
    {
        $this->database->table($this->config['db_table'])->where('setting_key', $key)->delete();
        $this->cache->forget($key);
    }
47436
public function setInternalKey($key)
    {
        parent::setInternalKey($key);
        if (empty($this->_id)) {
            $this->_id = $this->_collectionName . '/' . $key;
        }
    }
952813
public function purge($key) {
		if ($this->log != null) {
			if ($this->log instanceof LoggerInterface) {
				$this->log->info("Purging key '{key}' from no-cache. Nothing to purge.", array('key'=>$key));
			} else {
				$this->log->trace("Purging key '$key' from no-cache. Nothing to purge.");
			}
		}
	}
820523
public function lock($key)
    {
        $this->logger->info("[Filesystem cache] Lock '$key'");

        $lockFile = $this->fixKey($key) . ".lock";

        try {
            file_put_contents($lockFile, date('c'));
        } catch (Exception $ex) {
            // Ignoring... Set will cause an error
        }
    }
430857
public function delete($key)
    {
        if ($this->has($key)) {
            unset($this->values[$key]);

            return true;
        }

        return false;
    }
802318
public function delete($key)
    {
        $this->initSession();
        $key_name = $this->getSessionKeyName($key);
        unset($_SESSION[$key_name]);
    }
1347460
public function forget($key)
    {
        $this->load();

        if ($this->has($key)) {
            $this->dirt[$key] = ['type' => 'deleted'];
            Arr::forget($this->settings, $key);
        }
    }
203030
public function close($key)
    {
        if (isset($this->states[$key]) and $this->states[$key]->isOpen()) {
            $this->states[$key]->close();
        }
    }
130082
public function remove($key)
    {
        $this->removeKeyFromNestedCache($key);

        if ($this->isNestedKey($key)) {
            $this->removeNestedValueByKey($key);

            return;
        }

        unset($this->items[$key]);
    }
960814
public function offsetUnset($key)
    {
        $keyString = self::keyString($key);
        if (($index = $this->keysIndices[$keyString] ?? null) !== null) {
            unset($this->keys[$index], $this->values[$index], $this->keysIndices[$keyString]);
        }
    }