@param $key

@return $this
768134
public function remove($reference)
    {
        $reference = $this->computeKeyFQN($reference);
        $matcher = $this->getMatcher();

        Collection::cast(self::$data)->each(function (&$value, $key) use ($matcher, $reference) {
            if ($matcher->match($reference, $key)) {
                unset(self::$data[$key]);
            }
        });
        return $this;
    }
1164938
public function delete($key)
    {
        if (is_array($key)) {
            foreach ($key as $k) {
                $this->set($k, null);
            }
        } else {
            $this->set($key, null);
        }
        return $this;
    }
616630
public function delete($key) : Blob
    {
        if ($this->offsetExists($key)) {
            $this->offsetUnset($key);
        }

        return $this;
    }
1261612
public function filterByPrimaryKey($key)
    {
        $this->addUsingAlias(StructureNodeParentTableMap::COL_STRUCTURE_NODE_ID, $key[0], Criteria::EQUAL);
        $this->addUsingAlias(StructureNodeParentTableMap::COL_PARENT_ID, $key[1], Criteria::EQUAL);

        return $this;
    }
640409
protected function clearChange($key)
    {
        if (true === $this->willChange($key)) {
            unset($this->current[$key]);
        }
        return $this;
    }
321616
public function setKey($key)
    {
        try {
            $this->blockCipher->setKey($key);
        } catch (CryptException\InvalidArgumentException $e) {
            throw new Exception\InvalidArgumentException($e->getMessage());
        }
        $this->encryption['key'] = $key;
        return $this;
    }
1163404
public function removeQuery(string $key) : self
    {
        if (isset($this->uri['query'][$key])) {
            unset($this->uri['query'][$key]);
        }

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

        return $this;
    }
763612
public function remove(string $key): self
    {
        $this->data = Arr::remove($this->data, $key);
        return $this;
    }
347567
public function setKey($key)
    {
        $arr = $this->parseKey($key);
        $this->key = $arr['key'];
        $this->identifier = $arr['identifier'];
        $this->prefix = $arr['prefix'];

        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;
    }
454434
public function filterByPrimaryKey($key)
    {
        $this->addUsingAlias(UserRolePeer::USER_ID, $key[0], Criteria::EQUAL);
        $this->addUsingAlias(UserRolePeer::ROLE_ID, $key[1], Criteria::EQUAL);

        return $this;
    }
302487
public function forget($key)
    {
        if (is_string($key)) {
            $this->unsetVal($key);
        } else {
            foreach ($this->items as $keys => $value) {
                if ($key === $keys) {
                    $this->unsetVal($key);
                }
            }
        }

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

            return $this;
        }

        return $this->field['key'];
    }
103231
public function forget($key)
    {
        if (!$this->has($key)) {
            return $this;
        }

        foreach ($this->id2Tags[$key] as $tag) {
            unset($this->tag2Ids[$tag][$key]);
        }

        unset($this->id2Tags[$key]);
        unset($this->cache[$key]);

        return $this;
    }
1355128
public function forget(string $key)
    {
        $newContent = $this->all();

        unset($newContent[$key]);

        $this->setContent($newContent);

        return $this;
    }
59603
public function copyto($key)
    {
        $var=&Base::instance()->ref($key);
        foreach (array_merge($this->_schema['init'],
                 array_filter($this->_schema['values'], array($this, 'filterRule')),
                 array_filter($this->_schema['others'], array($this, 'filterRule'))) as $key=>$val)
            $var[$key]=$val;

        return $this;
    }