src/Room11/HTTP/Response/Response.php
public function setAllHeaders(array $headerArray)
    {
        foreach ($headerArray as $field => $value) {
            $this->setHeader($field, $value);
        }

        return $this;
    }
public function setAllHeaders(array $headerArray)
    {
        foreach ($headerArray as $field => $value) {
            $this->setHeader($field, $value);
        }

        return $this;
    }
public function setAllHeaders ( array $ headerArray ) { foreach ( $ headerArray as $ field => $ value ) { $ this -> setHeader ( $ field , $ value ) ; } return $ this ; }
Set multiple headers from a key-value array

Existing values matching the specified field are replaced.
Header field names are NOT case-sensitive.

@param array
@throws \InvalidArgumentException
@return Response Returns the current object instance
Set multiple headers from a key - value array