public function assignAttributes($attributes) { $this->_modifiedFields = array_merge($this->_modifiedFields, array_keys($attributes)); $this->_attributes = array_merge($this->_attributes, $this->filterAttributesPreserveNull($attributes)); }