WordPress at Your Fingertips
function is not described

Composer\Installers

ShopwareInstaller::correctThemeName() private WC 1.0

Changes the name to a underscore separated name

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

No Hooks.

Return

Array.

Usage

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

Code of ShopwareInstaller::correctThemeName() WC 5.5.2

<?php
private function correctThemeName($vars)
{
    $vars['name'] = str_replace('-', '_', $vars['name']);

    return $vars;
}