$headers = [ 'X-Foo' => 'bar', 'Content-Type' => 'application/json', ]; $curl->addMultiple($headers);
public function addMultiple(array $fields) { $this->fields = array_merge($this->fields, $fields); return $this; }