function CockpitInstaller::inflectModuleVars
Parameters
array<string, string> $vars:
Return value
array<string, string>
1 call to CockpitInstaller::inflectModuleVars()
- CockpitInstaller::inflectPackageVars in vendor/
composer/ installers/ src/ Composer/ Installers/ CockpitInstaller.php - Format module name.
File
-
vendor/
composer/ installers/ src/ Composer/ Installers/ CockpitInstaller.php, line 30
Class
Namespace
Composer\InstallersCode
public function inflectModuleVars(array $vars) : array {
$vars['name'] = ucfirst($this->pregReplace('/cockpit-/i', '', $vars['name']));
return $vars;
}