WordPress at a glance
function is not described

Composer\Installers

MediaWikiInstaller::inflectExtensionVars() protected WC 1.0

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

No Hooks.

Return

null. Nothing.

Usage

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

Code of MediaWikiInstaller::inflectExtensionVars() WC 5.3.0

<?php
protected function inflectExtensionVars($vars)
{
    $vars['name'] = preg_replace('/-extension$/', '', $vars['name']);
    $vars['name'] = str_replace('-', ' ', $vars['name']);
    $vars['name'] = str_replace(' ', '', ucwords($vars['name']));

    return $vars;
}