src/Response/Response.php
public function addHeaders($headers)
    {
        foreach ($headers as $name => $value) {
            $this->setHeader($name, $value);
        }
    }
public function addHeaders($headers)
    {
        foreach ($headers as $name => $value) {
            $this->setHeader($name, $value);
        }
    }
public function addHeaders ( $ headers ) { foreach ( $ headers as $ name => $ value ) { $ this -> setHeader ( $ name , $ value ) ; } }
Sets headers from array. Keys should be the header names.

@param string[] $headers
Sets headers from array . Keys should be the header names .