WordPress at a glance
function is not described

Composer\Installers

MauticInstaller::inflectPackageVars() public WC 1.0

Format package name of mautic-plugins to CamelCase

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

No Hooks.

Return

null. Nothing.

Usage

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

Code of MauticInstaller::inflectPackageVars() WC 5.3.0

<?php
public function inflectPackageVars($vars)
{

    if ($vars['type'] == 'mautic-plugin' || $vars['type'] == 'mautic-theme') {
        $directoryName = $this->getDirectoryName();
        $vars['name'] = $directoryName;
    }

    return $vars;
}