WordPress at a glance
function is not described

Composer\Installers

RoundcubeInstaller::inflectPackageVars() public WC 1.0

Lowercase name and changes the name to a underscores

{} It's a method of the class: RoundcubeInstaller{}

No Hooks.

Return

Array. Nothing.

Usage

$RoundcubeInstaller = new RoundcubeInstaller();
$RoundcubeInstaller->inflectPackageVars( $vars );
$vars(array) (required)
-

Code of RoundcubeInstaller::inflectPackageVars() WC 5.3.0

<?php
public function inflectPackageVars($vars)
{
    $vars['name'] = strtolower(str_replace('-', '_', $vars['name']));

    return $vars;
}