src/Common/Factory/HttpRequest.php
public function setHeader($sHeader, $mValue)
    {
        if (empty($this->aHeaders)) {
            $this->aHeaders = [];
        }

        $this->aHeaders[$sHeader] = $mValue;
        return $this;
    }
public function setHeader($sHeader, $mValue)
    {
        if (empty($this->aHeaders)) {
            $this->aHeaders = [];
        }

        $this->aHeaders[$sHeader] = $mValue;
        return $this;
    }
public function setHeader ( $ sHeader , $ mValue ) { if ( empty ( $ this -> aHeaders ) ) { $ this -> aHeaders = [ ] ; } $ this -> aHeaders [ $ sHeader ] = $ mValue ; return $ this ; }
Sets a header

@param $sHeader
@param $mValue

@return $this
Sets a header