public static function camelizeAction($string)
    {
        $string = str_ireplace("-", "_", $string);
        $string = str_ireplace("_", " ", $string);
        $string = str_ireplace(" ", "", lcfirst(ucwords($string)));

        return $string;
    }
public static function camelizeAction($string)
    {
        $string = str_ireplace("-", "_", $string);
        $string = str_ireplace("_", " ", $string);
        $string = str_ireplace(" ", "", lcfirst(ucwords($string)));

        return $string;
    }
public static function camelizeAction ( $ string ) { $ string = str_ireplace ( "-" , "_" , $ string ) ; $ string = str_ireplace ( "_" , " " , $ string ) ; $ string = str_ireplace ( " " , "" , lcfirst ( ucwords ( $ string ) ) ) ; return $ string ; }
support "-", "_", and case insensitive
support - _ and case insensitive