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() ShopwareInstaller::correctThemeName WC 5.0.0
private function correctThemeName($vars)
{
$vars['name'] = str_replace('-', '_', $vars['name']);
return $vars;
}