Beispiel #1
0
/**
 * Converts a string to "camelCase"
 */
function str_camel_case($str)
{
    return lcfirst(str_studly_case($str));
}
Beispiel #2
0
/**
 * Convert string to camel case.
 *
 * Original source: Laravel 4, adapted to remove Str dependency.
 * 
 * @param  string $value 
 * @return string
 */
function str_camel_case($value)
{
    return lcfirst(str_studly_case($value));
}