WordPress at a glance
function is not described

Composer\Installers

CroogoInstaller::inflectPackageVars() public WC 1.0

Format package name to CamelCase

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

No Hooks.

Return

null. Nothing.

Usage

$CroogoInstaller = new CroogoInstaller();
$CroogoInstaller->inflectPackageVars( $vars );
$vars (required)
-

Code of CroogoInstaller::inflectPackageVars() WC 5.2.2

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

    return $vars;
}