public function toCamelCase($attributes) { $convertedAttributes = []; foreach ($attributes as $key => $value) { $key = $this->getTrueKey($key); $convertedAttributes[$key] = $value; } return $convertedAttributes; }