public function addFields(array $data, $contentType = 'text/plain') { foreach ($data as $key => $value) { $this->addField($key, $value, $contentType); } return $this; }