WordPress at a glance
function is not described

Composer\Installers

BitrixInstaller::inflectPackageVars() public WC 1.0

{@inheritdoc}

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

No Hooks.

Return

null. Nothing.

Usage

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

Code of BitrixInstaller::inflectPackageVars() WC 5.3.0

<?php
public function inflectPackageVars($vars)
{
    if ($this->composer->getPackage()) {
        $extra = $this->composer->getPackage()->getExtra();

        if (isset($extra['bitrix-dir'])) {
            $vars['bitrix_dir'] = $extra['bitrix-dir'];
        }
    }

    if (!isset($vars['bitrix_dir'])) {
        $vars['bitrix_dir'] = 'bitrix';
    }

    return parent::inflectPackageVars($vars);
}