src/Common/Helper/Strings.php
public static function underscoreToCamelcase($sString, $bLowerFirst = true)
    {
        $sString = explode('_', $sString);
        $sString = array_map('strtolower', $sString);
        $sString = array_map('ucfirst', $sString);
        $sString = implode($sString);
        $sString = $bLowerFirst ? lcfirst($sString) : $sString;
        return $sString;
    }
public static function underscoreToCamelcase($sString, $bLowerFirst = true)
    {
        $sString = explode('_', $sString);
        $sString = array_map('strtolower', $sString);
        $sString = array_map('ucfirst', $sString);
        $sString = implode($sString);
        $sString = $bLowerFirst ? lcfirst($sString) : $sString;
        return $sString;
    }
public static function underscoreToCamelcase ( $ sString , $ bLowerFirst = true ) { $ sString = explode ( '_' , $ sString ) ; $ sString = array_map ( 'strtolower' , $ sString ) ; $ sString = array_map ( 'ucfirst' , $ sString ) ; $ sString = implode ( $ sString ) ; $ sString = $ bLowerFirst ? lcfirst ( $ sString ) : $ sString ; return $ sString ; }
Transforms a string with underscores into a camelcased string

@param string  $sString     The string to transform
@param boolean $bLowerFirst Whether or not to lowercase the first letter of the transformed string or not

@return string
Transforms a string with underscores into a camelcased string