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