WordPress at a glance
function is not described

Composer\Installers

ShopwareInstaller::inflectPackageVars() public WC 1.0

Transforms the names

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

No Hooks.

Return

Array. Nothing.

Usage

$ShopwareInstaller = new ShopwareInstaller();
$ShopwareInstaller->inflectPackageVars( $vars );
$vars(array) (required)
-

Code of ShopwareInstaller::inflectPackageVars() WC 5.2.2

<?php
public function inflectPackageVars($vars)
{
    if ($vars['type'] === 'shopware-theme') {
        return $this->correctThemeName($vars);
    }

    return $this->correctPluginName($vars);        
}