Remove a preset with the given key

@param  string $key
@return self
188669
public function removePreset($key)
    {
        if (isset($this->presets[$key])) {
            unset($this->presets[$key]);
        }

        return $this;
    }
745565
public function remove($key)
    {
        $unit = $this->searchForId($key);
        if ($unit) {
            $unit->parentNode->removeChild($unit);
        }

        return $this;
    }
1210131
public function delete($key)
    {
        $key = (string)$key;

        if (\array_key_exists($key, self::$registry)) {
            unset(self::$registry[$key]);
        }
        return $this;
    }
3899
public static function remove($key) {
        static::init();
        if (isset($_SESSION[self::$prepend . $key]))
            unset($_SESSION[self::$prepend . $key]);
    }
254553
public function remove_header($key)
    {
        if (isset($this->request_headers[$key])) {
            unset($this->request_headers[$key]);
        }
        return $this;
    }
370463
public function remove(string $key): KeyValueCollectionInterface
    {
        if ($this->has($key)) {
            unset($this->collection[$this->keyMap[strtolower($key)]], $this->keyMap[strtolower($key)]);
        }

        return $this;
    }
32597
function delete($key) {
        if(!$this->enabled) {
            return $this;
        }
        
        parent::delete($key);
        if($this !== $this->client->presences) {
            $this->client->presences->delete($key);
        }
        
        return $this;
    }
1153
public function unsetItem($key) {
		if (is_array($key)) {
			$key = $this->arrayHashFunction($key);
		}
		
		if (! isset($this->_data[$key])) {
			return;
		}
		
		unset($this->_data[$key], $this->_models[$key]);
		$this->_map = array_keys($this->_data);
		
		return $this;
	}
1300767
public function remove($key)
    {
        $key = $this->resolveAlias($key);

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

        return $this;
    }
202673
private function preRemoveItem($key)
    {
        $item = $this->getItem($key);
        $this->removeTagEntries($item);

        return $this;
    }
129907
public function clear($key)
    {
        setcookie($key, '', time() - 3600);
        unset($_COOKIE[$key]);
        unset($this->store[$key]);

        return $this;
    }
305689
public function exclude($key)
    {
        $this->populateInput();

        if (array_key_exists($key, $this->input)) {
            unset($this->input[$key]);
        }

        return $this->input;
    }
616630
public function delete($key) : Blob
    {
        if ($this->offsetExists($key)) {
            $this->offsetUnset($key);
        }

        return $this;
    }
340242
public function remove($key)
    {
        $file=$this->getCacheDir().$key;
        if(file_exists($file))
            unlink($file);
    }
748421
public function unsetData($key = null)
    {
        if (is_string($key) && 0 < strlen($key)) {
            unset($this->data[$key]);
        } else {
            $this->data = [];
        }

        return $this;
    }
363696
public function removeAdditionalField(string $key): self
    {
        if (isset($this->additionalFields[$key])) {
            unset($this->additionalFields[$key]);
        }

        return $this;
    }
1282666
public function without($key): self
    {
        if (!$this->has($key)) {
            return $this;
        }

        $clone = clone $this;
        unset($clone->keys[$key]);

        return $clone;
    }