src/Utilities.php
public static function underscoresToCamelCase($underscores)
    {
        $words = explode('_', $underscores);
        $camelCase = '';
        foreach ($words as $word) {
            $camelCase .= ucfirst($word);
        }
        return $camelCase;
    }
public static function underscoresToCamelCase($underscores)
    {
        $words = explode('_', $underscores);
        $camelCase = '';
        foreach ($words as $word) {
            $camelCase .= ucfirst($word);
        }
        return $camelCase;
    }
public static function underscoresToCamelCase ( $ underscores ) { $ words = explode ( '_' , $ underscores ) ; $ camelCase = '' ; foreach ( $ words as $ word ) { $ camelCase .= ucfirst ( $ word ) ; } return $ camelCase ; }
Convert a lowercase underscore-separated name to a camel case class-name.
E.g. from "camel_case" to "CamelCase".

@param string $underscores
Underscores-separated string
@return string A camel case string
Convert a lowercase underscore - separated name to a camel case class - name . E . g . from camel_case to CamelCase .