Returns a new Dictionary object without the key "key".

@param mixed $key

@see self::copy()

@return self
427860
public function without($key)
    {
        $keys = func_num_args() > 1 ? func_get_args() : (array) $key;

        $copy = $this->copy();

        foreach ($keys as $key) {
            $copy->offsetUnset($key);
        }

        return $copy;
    }
995813
protected function _removeKey($key)
    {
        $keys = $this->get('__stored_keys__', []);
        if (in_array($key, $keys)) {
            $reverse = array_flip($keys);
            unset($reverse[$key]);
            $this->set('__stored_keys__', array_keys($reverse));
        }
        return $this;
    }
253179
public function key($key)
    {
        $this->key = self::hkdf($key, 'KeyForEncryption');
        $this->authentication = self::hkdf($key, 'KeyForAuthentication');

        return $this;
    }
277413
public function remove($key) {
        if (isset($this->_attrs[$key])) {
            unset($this->_attrs[$key]);
        }
        
        return $this;
    }
897158
public function loadByKey($key)
    {
        $configuration = new Configuration();
        require $key;
        $vars = get_defined_vars();
        unset($vars['configuration']);
        unset($vars['key']);
        foreach ($vars as $name => $value) {
            $configuration->{$name} = $value;
        }

        return $configuration;
    }
1278577
public function remove($key) {
    $file = $this->getFile($this->getKey($key));
    $file->delete();
    return $this;
  }
710248
public function unmap( $key )
    {
        Option::remove( $this->_map, $this->_hashKey( $key ) );

        return $this;
    }
1324419
public function key(string $key = null)
    {
        if ($key) {
            $this->field['key'] = $key;

            return $this;
        }

        return $this->field['key'];
    }
211439
public function key($key = null)
    {
        if (!func_num_args()) {
            return $this->_key;
        }
        $this->_key = $key;
        return $this;
    }
21486
def remove(self, key):
        ''''''
        copydict = ImmutableDict()
        copydict.tree = self.tree.remove(hash(key))
        copydict._length = self._length - 1
        return copydict
771973
public function remove($key)
    {
        if (isset($this->_data[$key])) {
            unset($this->_data[$key]);
        }

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

        return $this;
    }
1107062
public function forget($key)
    {
        if (is_array($key)) {
            return $this->forgetMany($key);
        }

        return parent::forget($key);
    }
699879
public function lookup($key)
    {
        if ($this->member($key) === false) {
            return Maybe::nothing();
        }

        $copy = array_merge($this->value);

        return Maybe::just($copy[$key]);
    }
207416
public function toDictionary($key = null)
    {
        $rows = [];
        $key = $key ? : $this->getTable()->getPrimaryKey();
        foreach ($this->rows as $row) {
            $rows[$row->$key] = $row;
        }
        $this->rows = $rows;
        return $this;
    }
1264079
protected function objectForKey($key)
    {
        return DataObject::get($this->getSourceObject())
            ->filter($this->getKeyField(), $key)
            ->first();
    }
588343
public function dictionary($dictionary)
    {
        $this->dictionary = is_array($dictionary) ? $dictionary : json_decode(file_get_contents($dictionary), true);

        return $this;
    }