@param string $key
@param int    $when [optional]

@return $this
9001
public function remove($key, $when = self::NEXT)
    {
        $deleteWhen = $when == self::ALL ? self::$when : (array) $when;
        foreach ($deleteWhen as $when) {
            $this->set($key, null, $when);
        }

        return $this;
    }
165033
function del($key)
    {
        if ($this->has($key)) {
            $p = &$this->__attainInternalPointer();
            unset($p[$key]);
        }

        return $this;
    }
731483
public function filterByPrimaryKey($key)
    {
        $this->addUsingAlias(PersonFunctionVersionTableMap::ID, $key[0], Criteria::EQUAL);
        $this->addUsingAlias(PersonFunctionVersionTableMap::VERSION, $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;
    }
454177
public function setAsKey($what)
    {
        switch ($what) {
            case self::CLASS_AS_KEY:
            case self::OFFSET_AS_KEY:
                $this->keytype = $what;
                break;
            default:
                $this->keytype = self::CLASS_AS_KEY;
                break;
        }
    }
1299151
public function setContainer($key, Placeholder\HtmlClassContainer $container)
    {
        $this->registry->setContainer($key, $container);

        return $this;
    }
864160
protected function whereHandler($key, $operator = null, $value = null, $joiner = 'AND')
    {
        $key = $this->addTablePrefix($key);
        $this->statements['wheres'][] = compact('key', 'operator', 'value', 'joiner');
        return $this;
    }
891460
public function remove($key) {
        $this->_data = Hash::remove($this->_data, $key);

        return $this;
    }
1271855
function delete($key) {
        parent::delete($key);
        if($this !== $this->client->users) {
            $this->client->users->delete($key);
        }
        
        return $this;
    }
320119
public function remove($key)
    {
        if ($this->has($key)) {
            $cont = clone $this;
            $cont->removeParameter($key);

            return $cont;
        }

        return $this;
    }
332514
public function group_by( $key ) 
	{
		if ( !is_array( $key ) )
		{
			$key = array( $key );	
		}
		
		foreach( $key as $group_key )
		{
			$this->groups[] = $group_key;
		}
		
		return $this;
	}
1360336
public function orWhereBetween(string $key, int $min, int $max): QueryBuilder
    {
        $values = ['min' => $min, 'max' => $max];
        $this->addWhere($key, 'BETWEEN', $values, 'OR');
        return$this;
    }
1100734
public function remove($key)
    {
        unset($this->data[$key]);
        $this->response->removeCookie($key);
        return $this;
    }
925002
public function setKey($key)
    {
        $this->key = $key;

        if (!is_string($this->key) && $this->key !== null) {
            throw new \InvalidArgumentException('Key should be string');
        }

        return $this;
    }
588135
public function filterByPrimaryKey($key)
    {
        $this->addUsingAlias(RolePermissionTableMap::COL_ROLE_ID, $key[0], Criteria::EQUAL);
        $this->addUsingAlias(RolePermissionTableMap::COL_PERMISSION_ID, $key[1], Criteria::EQUAL);

        return $this;
    }
818598
public function delete($key)
    {
        $key = func_num_args() > 1 ? func_get_args() : $key;

        if (is_array($key)) {
            array_map([$this, __METHOD__], $key);

            return $this;
        }

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

        return $this;
    }
891896
public function releaseKey($key)
    {
        $this->executor->execute(DriverCommand::SEND_KEYS_TO_ACTIVE_ELEMENT, [
            'value' => [(string) $key],
        ]);

        return $this;
    }