public function remove(string $key): self
    {
        if (isset($this->headers[$key]) == true) {
            unset($this->headers[$key]);
        }

        return $this;
    }
public function remove(string $key): self
    {
        if (isset($this->headers[$key]) == true) {
            unset($this->headers[$key]);
        }

        return $this;
    }
public function remove ( string $ key ) : self { if ( isset ( $ this -> headers [ $ key ] ) == true ) { unset ( $ this -> headers [ $ key ] ) ; } return $ this ; }
removes header with given key

@param   string  $key  name of header
@return  \stubbles\peer\HeaderList
removes header with given key