WordPress at a glance
function is not described

Composer\Installers

MicroweberInstaller::inflectCoreVars() protected WC 1.0

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

No Hooks.

Return

null. Nothing.

Usage

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

Code of MicroweberInstaller::inflectCoreVars() WC 5.3.0

<?php
protected function inflectCoreVars($vars)
{
    $vars['install_item_dir'] = preg_replace('/-providers$/', '', $vars['install_item_dir']);
    $vars['install_item_dir'] = preg_replace('/-provider$/', '', $vars['install_item_dir']);
    $vars['install_item_dir'] = preg_replace('/-adapter$/', '', $vars['install_item_dir']);

    return $vars;
}