WordPress at a glance
function is not described

Composer\Installers

ShopwareInstaller::correctPluginName() private WC 1.0

Changes the name to a camelcased combination of vendor and name

{} It's a method of the class: ShopwareInstaller{}

No Hooks.

Return

Array. Nothing.

Usage

// private - for code of main (parent) class only
$result = $this->correctPluginName( $vars );
$vars(array) (required)
-

Code of ShopwareInstaller::correctPluginName() WC 5.3.0

<?php
private function correctPluginName($vars)
{
    $camelCasedName = preg_replace_callback('/(-[a-z])/', function ($matches) {
        return strtoupper($matches[0][1]);
    }, $vars['name']);

    $vars['name'] = ucfirst($vars['vendor']) . ucfirst($camelCasedName);

    return $vars;
}