WordPress at a glance
function is not described

Composer\Installers

PimcoreInstaller::inflectPackageVars() public WC 1.0

Format package name to CamelCase

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

No Hooks.

Return

Null. Nothing.

Usage

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

Code of PimcoreInstaller::inflectPackageVars() WC 5.0.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;
}