You are here

public function RoundcubeInstaller::inflectPackageVars in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/composer/installers/src/Composer/Installers/RoundcubeInstaller.php \Composer\Installers\RoundcubeInstaller::inflectPackageVars()

Lowercase name and changes the name to a underscores

Parameters

array $vars:

Return value

array

Overrides BaseInstaller::inflectPackageVars

File

vendor/composer/installers/src/Composer/Installers/RoundcubeInstaller.php, line 16

Class

RoundcubeInstaller

Namespace

Composer\Installers

Code

public function inflectPackageVars($vars) {
  $vars['name'] = strtolower(str_replace('-', '_', $vars['name']));
  return $vars;
}