You are here

protected function AsgardInstaller::inflectPluginVars in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/composer/installers/src/Composer/Installers/AsgardInstaller.php \Composer\Installers\AsgardInstaller::inflectPluginVars()
1 call to AsgardInstaller::inflectPluginVars()
AsgardInstaller::inflectPackageVars in vendor/composer/installers/src/Composer/Installers/AsgardInstaller.php
Format package name.

File

vendor/composer/installers/src/Composer/Installers/AsgardInstaller.php, line 32

Class

AsgardInstaller

Namespace

Composer\Installers

Code

protected function inflectPluginVars($vars) {
  $vars['name'] = ucfirst(preg_replace('/-module/', '', $vars['name']));
  return $vars;
}