public function remove($name, $offset = 0)
    {
        $s = $this->getNormalizedHeaderName($name);
        if (isset($this->headerMap[$s][$offset])) {
            $index = $this->headerMap[$s][$offset];
            array_splice($this->headerMap[$s], $offset, 1);
            unset($this->headers[$index]);
            unset($this->headerObjects[$index]);
            return true;
        }
        return false;
    }
public function remove($name, $offset = 0)
    {
        $s = $this->getNormalizedHeaderName($name);
        if (isset($this->headerMap[$s][$offset])) {
            $index = $this->headerMap[$s][$offset];
            array_splice($this->headerMap[$s], $offset, 1);
            unset($this->headers[$index]);
            unset($this->headerObjects[$index]);
            return true;
        }
        return false;
    }
public function remove ( $ name , $ offset = 0 ) { $ s = $ this -> getNormalizedHeaderName ( $ name ) ; if ( isset ( $ this -> headerMap [ $ s ] [ $ offset ] ) ) { $ index = $ this -> headerMap [ $ s ] [ $ offset ] ; array_splice ( $ this -> headerMap [ $ s ] , $ offset , 1 ) ; unset ( $ this -> headers [ $ index ] ) ; unset ( $ this -> headerObjects [ $ index ] ) ; return true ; } return false ; }
Removes the header from the collection with the passed name.  Defaults to
removing the first instance of the header for a collection that contains
more than one with the same passed name.

@param string $name
@param int $offset
@return boolean
Removes the header from the collection with the passed name . Defaults to removing the first instance of the header for a collection that contains more than one with the same passed name .