public function merge(array $data)
{
$this->mergePartial($this->data, $data);
return $this;
}
public function merge(array $data) { if ($this->isStored()) { foreach ($data as $fieldName => $value) { $this->set($fieldName, $value); } } else { parent::merge($data); } return $this; }