src/Utilities/Miscellaneous.php
public static function getCamelCase($string, $separator = ' ')
    {
        if (empty($string)) {
            return '';
        }

        $effect = '';
        $members = explode($separator, $string);

        foreach ($members as $key => $value) {
            $value = mb_strtolower($value);

            if (0 === $key) {
                $effect .= self::lowercaseFirst($value);
            } else {
                $effect .= self::uppercaseFirst($value);
            }
        }

        return $effect;
    }
public static function getCamelCase($string, $separator = ' ')
    {
        if (empty($string)) {
            return '';
        }

        $effect = '';
        $members = explode($separator, $string);

        foreach ($members as $key => $value) {
            $value = mb_strtolower($value);

            if (0 === $key) {
                $effect .= self::lowercaseFirst($value);
            } else {
                $effect .= self::uppercaseFirst($value);
            }
        }

        return $effect;
    }
public static function getCamelCase ( $ string , $ separator = ' ' ) { if ( empty ( $ string ) ) { return '' ; } $ effect = '' ; $ members = explode ( $ separator , $ string ) ; foreach ( $ members as $ key => $ value ) { $ value = mb_strtolower ( $ value ) ; if ( 0 === $ key ) { $ effect .= self :: lowercaseFirst ( $ value ) ; } else { $ effect .= self :: uppercaseFirst ( $ value ) ; } } return $ effect ; }
Returns the string in camel case

@param string $string    The string to convert e.g. this-is-eXamplE (return: thisIsExample)
@param string $separator (optional) Separator used to find parts of the string, e.g. '-' or ','
@return string
Returns the string in camel case