WordPress at a glance
function is not described

Composer\Installers

MayaInstaller::inflectPackageVars() public WC 1.0

Format package name.

For package type maya-module, cut off a trailing '-module' if present.

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

No Hooks.

Return

null. Nothing.

Usage

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

Code of MayaInstaller::inflectPackageVars() WC 5.3.0

<?php
public function inflectPackageVars($vars)
{
    if ($vars['type'] === 'maya-module') {
        return $this->inflectModuleVars($vars);
    }

    return $vars;
}