public function ShopwareInstaller::inflectPackageVars in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/composer/installers/src/Composer/Installers/ShopwareInstaller.php \Composer\Installers\ShopwareInstaller::inflectPackageVars()
Transforms the names
Parameters
array $vars:
Return value
array
Overrides BaseInstaller::inflectPackageVars
File
- vendor/
composer/ installers/ src/ Composer/ Installers/ ShopwareInstaller.php, line 22
Class
- ShopwareInstaller
- Plugin/theme installer for shopware @author Benjamin Boit
Namespace
Composer\InstallersCode
public function inflectPackageVars($vars) {
if ($vars['type'] === 'shopware-theme') {
return $this
->correctThemeName($vars);
}
else {
return $this
->correctPluginName($vars);
}
}