public function addHeaders(array $headers):void
    {
        foreach ($headers as $name => $value) {
            $this->addHeader((string)$name, $value);
        }
    }
public function addHeaders(array $headers):void
    {
        foreach ($headers as $name => $value) {
            $this->addHeader((string)$name, $value);
        }
    }
public function addHeaders ( array $ headers ) : void { foreach ( $ headers as $ name => $ value ) { $ this -> addHeader ( ( string ) $ name , $ value ) ; } }
Adds multiple headers.

@param array $headers
Adds multiple headers .