Remove a key from data array.

@param string $key the key to remove

@return View
771973
public function remove($key)
    {
        if (isset($this->_data[$key])) {
            unset($this->_data[$key]);
        }

        return $this;
    }
490084
public function remove($key)
    {
        $linesBefore = $this->lineCount();

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

        return $linesBefore - $this->lineCount();
    }
1036996
public function remove($key)
    {
        if (!$this->has($key)) {
            throw new InvalidException("Field {$key} does not exist");
        }
        unset($this->_data[$key]);

        return $this;
    }
298589
public function delete($key = null)
    {
        if ($key === null) {
            $this->reset();

            return $this;
        }

        $arr = &$this->getStackByReference($key);

        if (is_array($arr) && array_key_exists($key, $arr)) {
            unset($arr[$key]);
        }

        return $this;
    }
874299
public static function remove($key) {
        try {
            self::getCache()->remove($key);
            self::release();
        } catch (\RuntimeException $e) {
            self::release();
            throw $e;
        } catch (\Error $e) {
            self::release();
            throw $e;
        }
    }
200863
public function remove($key) {
    $path = $this->getFileName($key, TRUE);
    if (file_exists($path)) {
      unlink($path);
    }
  }
700643
public function removeAttribute($key)
    {
        if (!empty($this->attributes[$key])) {
            unset($this->attributes[$key]);
        }

        return $this;
    }
184236
public function remove($key) {
        $value = $this->elements[$this->hash($key)];
        unset($this->elements[$this->hash($key)]);
        $this->fire(new MapRemoveEvent($key, $value));
        return $value;
    }
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;
	}
1087018
public static function delete( $key ) {
		unset( self::$option[ self::$key ][ $key ] );
		return update_option( self::$name, self::$option );
	}
370463
public function remove(string $key): KeyValueCollectionInterface
    {
        if ($this->has($key)) {
            unset($this->collection[$this->keyMap[strtolower($key)]], $this->keyMap[strtolower($key)]);
        }

        return $this;
    }
565663
public function remove($key)
    {
        $key = is_array($key) ? $key : [$key];
        $config = $this->data;
        $data = &$config;
        while ($key) {
            $k = array_shift($key);
            if (!$key) {
                unset($config[$k]);
                break;
            }
            $config[$k] = isset($config[$k]) ? $config[$k] : [];
            $config = &$config[$k];
        }
        $this->data = $data;
        return $this->save();
    }
1124353
public function delete($key)
    {
        $redis = is_object($this->_redis) ? $this->_redis : $this->_getRedis();
        $redis->delete($this->_prefix . $key);

        return $this;
    }
1163404
public function removeQuery(string $key) : self
    {
        if (isset($this->uri['query'][$key])) {
            unset($this->uri['query'][$key]);
        }

        return $this;
    }
95514
public function remove($key)
    {
        if ( ! isset($this->websites[$key]) && ! array_key_exists($key, $this->websites)) {
            return null;
        }

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

        return $this;
    }
159403
public function remove($key)
    {
        $keys = explode('.', $key);

        $data = $this->getAll();

        $resource = &$data;
        foreach ($keys as $index => $key) {
            if (!isset($resource[$key])) {
                // We bail, the requested key could not be found
                return $this;
            }
            if ($index < (count($keys) - 1)) {
                $resource = &$resource[$key];
            }
        }
        unset($resource[$key]);

        $this->setAll($data);

        return $this;
    }
1061441
function delete($key) {
        $this->data[$key] = null;
        unset($this->data[$key]);
        return $this;
    }