Composer\Installers
ShopwareInstaller::inflectPackageVars() public WC 1.0
Transforms the names
{} Это метод класса: ShopwareInstaller{}
Хуков нет.
Возвращает
Массив.
Использование
$ShopwareInstaller = new ShopwareInstaller(); $ShopwareInstaller->inflectPackageVars( $vars );
- $vars(массив) (обязательный)
- -
Код ShopwareInstaller::inflectPackageVars() ShopwareInstaller::inflectPackageVars WC 5.0.0
public function inflectPackageVars($vars)
{
if ($vars['type'] === 'shopware-theme') {
return $this->correctThemeName($vars);
}
return $this->correctPluginName($vars);
}