Remove the expiration from a key
@param string $key
@return boolean
968106
public function persist($key)
    {
        $this->init();
        $result = $this->driver->persist($key);
        return (bool)$result;
    }
860114
public function delete(string $key): bool
    {
        $file = $this->cacheFile($key);

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

        return false;
    }
1111060
function expire( $key ) {
            $this->_logger->entrance( 'key = ' . $key );

            $cache_entry = $this->_options->get_option( $key, false );

            if ( is_object( $cache_entry ) &&
                 isset( $cache_entry->timestamp ) &&
                 is_numeric( $cache_entry->timestamp )
            ) {
                // Set to expired.
                $cache_entry->timestamp = WP_FS__SCRIPT_START_TIME;
                $this->_options->set_option( $key, $cache_entry, true );
            }
        }
328665
public function remove($key)
    {
        if ($this->has($key)) {
            unset($this->cache[$key]);
            return true;
        } else {
            return false;
        }
    }
965554
public static function removeFromCache($key)
    {
        $fullKey = static::makeCacheKey($key);
        if (!Cache::forget($fullKey)) {
            return false;
        }

        static::removeKeys($key);

        return true;
    }
505707
public function remove($key): bool {
        if (isset($this->array[$key])) {
            unset($this->array[$key]);
            return true;
        }
        return false;
    }
78101
public function delete($key)
	{
		// remove the expiration tracking for this key
		unset($this->data[static::EXPIRE_DATA_KEY][$key]);

		// and delete the key itself
		return parent::delete($this->prefixKey($key));
	}
85662
public function delete($key)
    {
        if (empty($this->predis)) return false;

        $key = $this->processKey($key);

        return $this->predis->del($key);
    }
1203512
public function clear($key) {
        if ($this->exists($key)) {
            unset($this->data[$key]);

            return true;
        }

        return false;
    }
1192321
public function removeByKey(string $key): bool
    {
        if (isset($this->routes[$key])) {
            unset($this->routes[$key]);
            return true;
        }
        return false;
    }
490084
public function remove($key)
    {
        $linesBefore = $this->lineCount();

        $this->lines->removeDefinition($key);

        return $linesBefore - $this->lineCount();
    }
185225
public function delete($key)
    {
        $filePath = $this->getFilePathFromKey($key);

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

        return unlink($filePath);
    }
1076281
public function delete($key)
    {
        if (!$this->enabled)
            return true;

        $this->Logger->debug("Delete key: {$key}");
        return $this->db->queryExec("DELETE FROM cache WHERE key='" . $this->key($key). "'");
    }
703779
public function del($key) {

        $keys = func_get_args();
        $removed = 0;

        foreach ($keys as $key) {
            $sql = 'DELETE FROM '.$this->table.' WHERE `key`="'.$key.'"';
            $this->connection->exec($sql);
            $removed++;
        }

        return $removed;
    }
575887
public function delete($key)
    {
        $cache_file = $this->path($key);
        if (file_exists($cache_file)) {
            $unlink_result = unlink($cache_file);
            if ($unlink_result === false) return false;
        }

        return true;
    }
81468
public function has(string $key): bool
    {
        $file = $this->cacheFile($key);

        if (is_file($file)) {
            $data = include $file;
            $expire = (int)$data['ttl'];
            return $expire === 0 || time() < $expire;
        }

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

            return true;
        }

        return false;
    }