WordPress at a glance
function is not described

Composer\Installers

ProcessWireInstaller::inflectPackageVars() public WC 1.0

Format package name to CamelCase

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

No Hooks.

Return

null. Nothing.

Usage

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

Code of ProcessWireInstaller::inflectPackageVars() WC 5.3.0

<?php
public function inflectPackageVars($vars)
{
    $vars['name'] = strtolower(preg_replace('/(?<=\\w)([A-Z])/', '_\\1', $vars['name']));
    $vars['name'] = str_replace(array('-', '_'), ' ', $vars['name']);
    $vars['name'] = str_replace(' ', '', ucwords($vars['name']));

    return $vars;
}