WordPress at a glance
function is not described

Composer\Installers

PiwikInstaller::inflectPackageVars() public WC 1.0

Format package name to CamelCase

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

No Hooks.

Return

Array. Nothing.

Usage

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

Code of PiwikInstaller::inflectPackageVars() WC 5.3.0

<?php
public function inflectPackageVars($vars)
{
    $vars['name'] = strtolower(preg_replace('/(?<=\\w)([A-Z])/', '_\\1', $vars['name']));
    $vars['name'] = str_replace(array('-', '_'), ' ', $vars['name']);
    $vars['name'] = str_replace(' ', '', ucwords($vars['name']));

    return $vars;
}