Removes an entry from the cache

@param string $key
@return boolean
354388
public function remove($key)
    {
        $this->initializeOnDemand();

        if ($this->has($key) && $this->cacheMapper->delete($key)) {
            unset($this->cache[$key]);
            return true;
        } else {
            return false;
        }
    }
806837
public function forget($key)
    {
        try {
            unlink($this->getCacheFile($key));
        } catch (Exception $e) {
            return false;
        }

        return true;
    }
1176581
public function remove($key)
	{
		$this->validateKey($key);
		if ($this->has($key)) {
			unset($this->params[$key]);
			return true;
		} else {
			return false;
		}
	}
1060716
public function forget(string $key): bool
    {
        $key = $this->hashKey($key);
        if (\array_key_exists($key, $this->cache)) {
            unset($this->cache[$key]);
            return true;
        }
        return false;
    }
258319
public function remove($key)
    {
        $position = $this->getPosition($key);
        if (false !== $position) {
            $this->file->remove($position);
            $this->rebuildIndex();

            return true;
        }

        return false;
    }
1180544
public function deleteItem($key)
    {
        $this->validateKey($key);

        if (!$this->has($key)) {
            return true;
        }

        return unlink($this->getPath($key));
    }
747575
public function remove ($key) {
        if (!$this->getConnection ()->getClient ()->zrem ($this->name , $key)) {
            return false;
        }
        $this->_data = null;
        $this->_count = null;
        return true;
    }
1132672
public function delete($key)
    {

        $deleted = false;

        $catalog = \array_keys($this->getKeys());
        foreach ($catalog as $k) {

            if (substr($k, 0, strlen($key)) == $key) {

                $delete = $this->memcache->delete($this->namespace . $key);
                if ($delete) {
                    $this->catalogKeyDelete($k);
                    $deleted = true;
                }
            }
        }

        return $deleted;
    }
663871
public function removeKey($key)
    {
        if ($this->hasKey($key)) {
            unset($this->container[$key]);
            return true;
        } else {
            return false;
        }
    }
103504
public function remove($key)
    {
        $result = parent::remove($key);
        if ($result) {
            $this->invalidateResolverCache();
        }

        return $result;
    }
732255
public function forget($key)
	{
		if ($this->has($key))
		{
			unset($this->data[$this->id($key)]);
		}

		return true;
	}
985882
public function remove($key)
    {
        if (!$this->hasConnection()) {
            // @codeCoverageIgnoreStart
            return false;
            // @codeCoverageIgnoreEnd
        }

        try {
            return $this->memcache->delete($key);
        // @codeCoverageIgnoreStart
        } catch (\Exception $e) {
        }

        return false;
        // @codeCoverageIgnoreEnd
    }
855039
public function remove( $key )
	{
		if( !isset( $GLOBALS[$this->poolKey][$key] ) )
			return false;
		unset( $GLOBALS[$this->poolKey][$key] );
		return true;	
	}
848819
public function remove($key)
    {
        $md5 = md5($key);
        $folderPath = $this->getFolderPathFromMd5($md5);
        $path = $this->path . self::DS . $folderPath . self::DS . $this->prefix . $md5;
        if (!file_exists($path) || !is_readable($path)) {
            return false;
        }

        return unlink($path);
    }
730005
public function forget($key)
    {
        if ($this->enabled) {
            opcache_invalidate($this->filePath($key), true);
        }
        return @unlink($this->filePath($key));
    }
1068933
public function forget($key)
	{
		if (isset(self::$registry[$key]))
		{
			unset(self::$registry[$key]);
			return true;
		}

		return false;
	}
340158
public function delete($key)
    {
        if (true === array_key_exists($key, $this->cache)) {
            unset($this->cache[$key]);

            return true;
        }

        return false;
    }