public function setMany(array $headers)
    {
        $this->clear();

        foreach ($headers as $header) {
            $this->append($header);
        }

        return $this;
    }
public function setMany(array $headers)
    {
        $this->clear();

        foreach ($headers as $header) {
            $this->append($header);
        }

        return $this;
    }
public function setMany ( array $ headers ) { $ this -> clear ( ) ; foreach ( $ headers as $ header ) { $ this -> append ( $ header ) ; } return $ this ; }
Set many headers at once and clear all previous ones

@param array $headers
@return \Krystal\Http\HeaderBag
Set many headers at once and clear all previous ones