src/Budkit/Protocol/Http/Response.php
public function setHeaders(array $headers = [])
    {

        $this->headers = ($headers instanceof Headers) ? $headers : new Headers((array)$headers);

        return $this;

    }
public function setHeaders(array $headers = [])
    {

        $this->headers = ($headers instanceof Headers) ? $headers : new Headers((array)$headers);

        return $this;

    }
public function setHeaders ( array $ headers = [ ] ) { $ this -> headers = ( $ headers instanceof Headers ) ? $ headers : new Headers ( ( array ) $ headers ) ; return $ this ; }
Sets a HeaderBag containing all headers;

@param string $headers

@return Response
@author Livingstone Fultang
Sets a HeaderBag containing all headers ;