setData($params); return $task; } else { return null; } } private static function _snakeToCamel($string) { $toReturn = ''; foreach(explode('_', $string) as $word) { $toReturn .= ucfirst($word); } return $toReturn; } }