src/helpers/StringHelper.php
public static function toCamelCase(string $string): string
    {
        $words = self::_prepStringForCasing($string);

        if (empty($words)) {
            return '';
        }

        $string = array_shift($words) . implode('', array_map([
                static::class,
                'upperCaseFirst'
            ], $words));

        return $string;
    }
public static function toCamelCase(string $string): string
    {
        $words = self::_prepStringForCasing($string);

        if (empty($words)) {
            return '';
        }

        $string = array_shift($words) . implode('', array_map([
                static::class,
                'upperCaseFirst'
            ], $words));

        return $string;
    }
public static function toCamelCase ( string $ string ) : string { $ words = self :: _prepStringForCasing ( $ string ) ; if ( empty ( $ words ) ) { return '' ; } $ string = array_shift ( $ words ) . implode ( '' , array_map ( [ static :: class , 'upperCaseFirst' ] , $ words ) ) ; return $ string ; }
camelCases a string.

@param string $string The string
@return string
@see toKebabCase()
@see toPascalCase()
@see toSnakeCase()
camelCases a string .