src/main/php/ehough/shortstop/api/HttpMessage.php
public final function removeHeaders($name)
    {
        self::checkString($name);

        foreach ($this->_headers as $headerName => $headerValue) {

            if (strcasecmp($name, $headerName) === 0) {

                unset($this->_headers[$headerName]);
            }
        }
    }
public final function removeHeaders($name)
    {
        self::checkString($name);

        foreach ($this->_headers as $headerName => $headerValue) {

            if (strcasecmp($name, $headerName) === 0) {

                unset($this->_headers[$headerName]);
            }
        }
    }
public final function removeHeaders ( $ name ) { self :: checkString ( $ name ) ; foreach ( $ this -> _headers as $ headerName => $ headerValue ) { if ( strcasecmp ( $ name , $ headerName ) === 0 ) { unset ( $ this -> _headers [ $ headerName ] ) ; } } }
Removes any headers with the given name.

@param string $name The header name.

@return void
Removes any headers with the given name .