Remove a value from the cache.

@param string $key

@return bool
185225
public function delete($key)
    {
        $filePath = $this->getFilePathFromKey($key);

        if (!file_exists($filePath)) {
            return false;
        }

        return unlink($filePath);
    }
22821
public function remove($key)
    {
        if (array_key_exists($key, $this->settings)) {
            unset($this->settings[$key]);
            return true;
        }
        return false;
    }
877935
public function delete($key)
    {
        if (!$this->requireProvider("Deleting key " . $key)) return false;

        return $this->cacheProvider->delete($key);
    }
304899
public function remove($key)
    {
        if ($this->has($key)) {
            unset($this->data[$key]);
            return true;
        } else {
            return false;
        }
    }
196615
public function remove(string $key)
  {
    $file = $this->file;

    if (file_exists($file)) {
      $data = unserialize($this->decrypt(file_get_contents($file)));

      if (is_array($data) && isset($data[$key])) {
        unset($data[$key]);
        $data = $this->encrypt(serialize($data));
        return file_put_contents($file, $data);
      }
    }

    return false;
  }
656493
public function forget($key = null)
    {
        $key = $key ?: $this->getCacheKey();

        $cache = $this->getCache();

        return $cache->forget($key);
    }
1094579
public function remove( $key )
	{
		$uri	= $this->getUriForKey( $key );
		unset( $this->data[$key] );
		return @unlink( $uri );
	}
1295908
public function delete($key)
    {
        $query = sprintf('DELETE FROM `%s` WHERE `key` = :key', $this->table);
        $stmt = $this->pdo->prepare($query);

        return $stmt->execute(array(
            ':'.ConstProviderInterface::CACHE_PARAM_KEY => $key,
        ));
    }
864295
public function delete($key): bool
    {
        if ($this->has($key)) {
            $this->unset($key);
            return true;
        }

        return false;
    }
1269977
public function release($key)
    {
        if ($this->cache->remove($key)) {
            if (($index = array_search($key, $this->keys)) !== false) {
                unset($this->keys[$index]);
            }
            return true;
        } else {
            return false;
        }
    }
1252045
public function remove($key)
	{
		$this->connect();

		$result = (bool) $this->driver->del($key);

		return $result;
	}
505707
public function remove($key): bool {
        if (isset($this->array[$key])) {
            unset($this->array[$key]);
            return true;
        }
        return false;
    }
1116634
public function forceDelete($key)
    {
        !is_null($this->cache) && $this->cache->forget($this->cacheKey);
        $model = $this->resolver()->where('name', $key);
        if (!is_null($model)) {
            return $model->delete();
        }
        return false;
    }
873073
public function delete($key)
    {
        try {
            $this->get($key);
        } catch (KeyNotFoundException $e) {
            return false;
        }

        unset($this->store[$key]);

        return true;
    }
538983
public function forget($key)
	{
		$file = $this->path($key);

		if (file_exists($file))
		{
			return unlink($file);
		}

		return true;
	}
194659
public function delete($key): bool
    {
        if ($this->enabled) {
            $realKey = $this->adjustKey($key);
            return $this->cacheDelete($realKey);
        }
        return false;
    }
1348994
public function remove($key)
    {
        foreach ($this->options as $idx => $option) {
            if (is_array($option)) {
                if (! strcasecmp($key, $option['name'])) {
                    unset($this->options[$idx]);

                    return true;
                }
            } elseif (! strcasecmp($key, $option)) {
                unset($this->options[$idx]);

                return true;
            }
        }

        return false;
    }