private function ShopwareInstaller::correctThemeName in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/composer/installers/src/Composer/Installers/ShopwareInstaller.php \Composer\Installers\ShopwareInstaller::correctThemeName()
Changes the name to a underscore separated name
Parameters
array $vars:
Return value
array
1 call to ShopwareInstaller::correctThemeName()
- ShopwareInstaller::inflectPackageVars in vendor/
composer/ installers/ src/ Composer/ Installers/ ShopwareInstaller.php - Transforms the names
File
- vendor/
composer/ installers/ src/ Composer/ Installers/ ShopwareInstaller.php, line 52
Class
- ShopwareInstaller
- Plugin/theme installer for shopware @author Benjamin Boit
Namespace
Composer\InstallersCode
private function correctThemeName($vars) {
$vars['name'] = str_replace('-', '_', $vars['name']);
return $vars;
}