private function correctPluginName($vars)
    {
        $camelCasedName = preg_replace_callback('/(-[a-z])/', function ($matches) {
            return strtoupper($matches[0][1]);
        }, $vars['name']);
        $vars['name'] = ucfirst($camelCasedName);
        return $vars;
    }
private function correctPluginName($vars)
    {
        $camelCasedName = preg_replace_callback('/(-[a-z])/', function ($matches) {
            return strtoupper($matches[0][1]);
        }, $vars['name']);
        $vars['name'] = ucfirst($camelCasedName);
        return $vars;
    }
private function correctPluginName ( $ vars ) { $ camelCasedName = preg_replace_callback ( '/(-[a-z])/' , function ( $ matches ) { return strtoupper ( $ matches [ 0 ] [ 1 ] ) ; } , $ vars [ 'name' ] ) ; $ vars [ 'name' ] = ucfirst ( $ camelCasedName ) ; return $ vars ; }
Change hyphenated names to camelcase
@param  array $vars
@return array
Change hyphenated names to camelcase