public static function studly($input)
    {
        $input = mb_convert_case($input, \MB_CASE_TITLE, 'UTF-8');
        $input = str_replace(array('-', '_'), ' ', $input);
        $input = str_replace(' ', '', $input);

        return $input;
    }
public static function studly($input)
    {
        $input = mb_convert_case($input, \MB_CASE_TITLE, 'UTF-8');
        $input = str_replace(array('-', '_'), ' ', $input);
        $input = str_replace(' ', '', $input);

        return $input;
    }
public static function studly ( $ input ) { $ input = mb_convert_case ( $ input , \ MB_CASE_TITLE , 'UTF-8' ) ; $ input = str_replace ( array ( '-' , '_' ) , ' ' , $ input ) ; $ input = str_replace ( ' ' , '' , $ input ) ; return $ input ; }
Converts a string to studly case

@param string $input
@return string
Converts a string to studly case