WordPress at a glance
function is not described

Composer\Installers

OctoberInstaller::inflectThemeVars() protected WC 1.0

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

No Hooks.

Return

null. Nothing.

Usage

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

Code of OctoberInstaller::inflectThemeVars() WC 5.2.2

<?php
protected function inflectThemeVars($vars)
{
    $vars['name'] = preg_replace('/^oc-|-theme$/', '', $vars['name']);

    return $vars;
}