WordPress at a glance
function is not described

Composer\Installers

MantisBTInstaller::inflectPackageVars() public WC 1.0

Format package name to CamelCase

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

No Hooks.

Return

null. Nothing.

Usage

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

Code of MantisBTInstaller::inflectPackageVars() WC 5.2.2

<?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;
}