WordPress at a glance
function is not described

Composer\Installers

TaoInstaller::inflectPackageVars() public WC 1.0

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

No Hooks.

Return

null. Nothing.

Usage

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

Code of TaoInstaller::inflectPackageVars() WC 5.3.0

<?php
public function inflectPackageVars($vars)
{
    $extra = $this->package->getExtra();

    if (array_key_exists(self::EXTRA_TAO_EXTENSION_NAME, $extra)) {
        $vars['name'] = $extra[self::EXTRA_TAO_EXTENSION_NAME];
        return $vars;
    }

    $vars['name'] = str_replace('extension-', '', $vars['name']);
    $vars['name'] = str_replace('-', ' ', $vars['name']);
    $vars['name'] = lcfirst(str_replace(' ', '', ucwords($vars['name'])));

    return $vars;
}