WordPress at a glance
function is not described

Composer\Installers

PxcmsInstaller::inflectPackageVars() public WC 1.0

Format package name.

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

No Hooks.

Return

Array. Nothing.

Usage

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

Code of PxcmsInstaller::inflectPackageVars() WC 5.3.0

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

    if ($vars['type'] === 'pxcms-theme') {
        return $this->inflectThemeVars($vars);
    }

    return $vars;
}