public function recordDataToDatabaseData()
{
$copy = array_merge($this->recordData);
foreach ($copy as $name => $value) {
$method = $this->container->inflector->camelize('set_' . $name . '_attribute');
if (method_exists($this, $method)) {
$copy[$name] = $this->{$method}($value);
}
}
return $copy;
}