WordPress at a glance
function is not described

Composer\Installers

YawikInstaller::inflectPackageVars() public WC 1.0

Format package name to CamelCase

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

No Hooks.

Return

Array. Nothing.

Usage

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

Code of YawikInstaller::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;
}