private function toCamelCase($key) { list($start, $end) = explode('_', $key); $str = strtolower($start) . ucfirst($end); return $str; }