public function appendHeaders(array $headers = [])
    {
        // Append headers.
        $this->headers = collect($this->headers)->merge($headers)->all();

        // Return calling object.
        return $this;
    }
public function appendHeaders(array $headers = [])
    {
        // Append headers.
        $this->headers = collect($this->headers)->merge($headers)->all();

        // Return calling object.
        return $this;
    }
public function appendHeaders ( array $ headers = [ ] ) { // Append headers. $ this -> headers = collect ( $ this -> headers ) -> merge ( $ headers ) -> all ( ) ; // Return calling object. return $ this ; }
Append Headers to request.

@param array $headers

@return self
Append Headers to request .