WordPress at a glance
function is not described

Composer\Installers

SiteDirectInstaller::parseVars() protected WC 1.0

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

No Hooks.

Return

Null. Nothing.

Usage

// protected - for code of main (parent) or child class
$result = $this->parseVars( $vars );
$vars (required)
-

Code of SiteDirectInstaller::parseVars() WC 5.0.0

<?php
protected function parseVars($vars)
{
    $vars['vendor'] = strtolower($vars['vendor']) == 'sitedirect' ? 'SiteDirect' : $vars['vendor'];
    $vars['name'] = str_replace(array('-', '_'), ' ', $vars['name']);
    $vars['name'] = str_replace(' ', '', ucwords($vars['name']));

    return $vars;
}