Purge a Nonce Word list.
@param string $key Nonce key
@param array $word Array of words created for $key
@param int $stop_nonce Time limit of words to preserve each one
@param array &$new_nonce_list New nonce list which is being built
359966
private function purgeNonceWord(string $key, array $word, int $stop_nonce, array &$new_nonce_list)
    {
        foreach ($word as $nonce) {
            if ($nonce['time'] >= $stop_nonce) {
                if (!array_key_exists($key, $new_nonce_list)) {
                    $new_nonce_list[$key] = array();
                }
                $new_nonce_list[$key][] = $nonce;
            }
        }
    }
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.");
			}
		}
	}
871163
public function forget($key)
    {

        try {

            DB::table($this->table)->where('key', 'LIKE', $key . '.%')->delete();

            DB::table($this->table)->where('key', 'LIKE', $key)->delete();

        } catch (\Exception $e) {

            throw new SaveException("Cannot remove item from database: " . $e->getMessage());

        }
    }
504352
public function remove(string $key)
    {
        if (isset($_SESSION[$key])) {
            $_SESSION[$key] = '';
            unset($_SESSION[$key]);
        }
    }
381874
public static function deleteKeys(array &$array, array $unwantedKey)
    {
        self::unsetKeys($array, $unwantedKey);

        foreach ($array as &$value) {
            if (\is_array($value)) {
                self::deleteKeys($value, $unwantedKey);
            }
        }
    }
652386
public function clearMessage($key)
    {
        if (isset($this->storage[$this->storageKey][$key])) {
            unset($this->storage[$this->storageKey][$key]);
        }

        if (isset($this->fromPrevious[$key])) {
            unset($this->fromPrevious[$key]);
        }

        if (isset($this->forNow[$key])) {
            unset($this->forNow[$key]);
        }
    }
1118892
public function forget($key)
    {
        if (array_key_exists($key, $this->settings)) {
            unset($this->settings[$key]);
        }
        $this->store();
    }
70725
public function forget($key)
    {
        $this->dynamo->deleteItem([
            'TableName' => $this->table,
            'Key' => [
                $this->keyAttribute => [
                    'S' => $this->prefix.$key,
                ],
            ],
        ]);

        return true;
    }
356284
public static function forget(array &$data, $key)
	{
		$segments = explode('.', $key);

		$key = array_pop($segments);

		// iterate through all of $segments except the last one
		foreach ($segments as $segment) {
			if (!array_key_exists($segment, $data)) {
				return;
			} else if (!is_array($data[$segment])) {
				throw new \UnexpectedValueException('Non-array segment encountered');
			}

			$data =& $data[$segment];
		}

		unset($data[$key]);
	}
756932
protected function removeNonce($nonce)
    {
        if (null === $this->registryRepository) {
            @unlink($this->nonceDir.DIRECTORY_SEPARATOR.$nonce);
        } else {
            $registry = $this->getRegistry($nonce);
            $this->registryRepository->remove($registry);
        }
    }
1099589
public function deleteRange($key, $length) {
        $badKeys = [];

        for ($i = $key; $i < $key + $length; $i++) {
            array_push($badKeys, $i);
        }

        $this->_datas = array_diff_key($this->_datas, array_flip($badKeys));
        $this->_datas = array_values($this->_datas);
    }
1145327
public function forget($key)
    {
        $this->database->table($this->config['db_table'])->where('setting_key', $key)->delete();
        $this->cache->forget($key);
    }
1150121
public function forget($key)
    {
        $filename = $this->_hash(array($key));

        return (bool) $this->_delete($filename);
    }
905663
function del($key)
    {
        parent::del($key);


        $realm = $this->getRealm();

        try {

            $sql = "DELETE FROM `KVStore` WHERE `realm` = '$realm' and `key` = '$key';";
            $this->pdo->exec($sql);

        } catch (\Exception $e) {
            throw new exWriteError($e->getMessage(), $e->getCode(), $e);
        }
    }
1028801
public function del($key, $subKey = null)
    {
        if (!is_null($subKey) && (is_array($this->data[$key]))) {
            unset($this->data[$key][$subKey]);
        } else {
            unset($this->data[$key]);
        }
    }
1355128
public function forget(string $key)
    {
        $newContent = $this->all();

        unset($newContent[$key]);

        $this->setContent($newContent);

        return $this;
    }
1047492
public function deleteValue(string $key) : void
    {
        if (isset($this->map[$key])) {
            unset($this->map[$key]);
        }
    }