WordPress at a glance
function is not described

Composer\Installers

CockpitInstaller::inflectModuleVars() public WC 1.0

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

No Hooks.

Return

null. Nothing.

Usage

$CockpitInstaller = new CockpitInstaller();
$CockpitInstaller->inflectModuleVars( $vars );
$vars (required)
-

Code of CockpitInstaller::inflectModuleVars() WC 5.3.0

<?php
public function inflectModuleVars($vars)
{
    $vars['name'] = ucfirst(preg_replace('/cockpit-/i', '', $vars['name']));

    return $vars;
}