public static function toCamelCaseFormat($text, $separator = '-')
    {
        $slugified = self::urlize($text, $separator);
        $camel = strtolower($slugified);
        $camel = ucwords($camel, $separator);

        return str_replace($separator, '', $camel);
    }
public static function toCamelCaseFormat($text, $separator = '-')
    {
        $slugified = self::urlize($text, $separator);
        $camel = strtolower($slugified);
        $camel = ucwords($camel, $separator);

        return str_replace($separator, '', $camel);
    }
public static function toCamelCaseFormat ( $ text , $ separator = '-' ) { $ slugified = self :: urlize ( $ text , $ separator ) ; $ camel = strtolower ( $ slugified ) ; $ camel = ucwords ( $ camel , $ separator ) ; return str_replace ( $ separator , '' , $ camel ) ; }
Camelize string.

@param string $text
@param string $separator
@return string $camelized
Camelize string .