WordPress at a glance
class is not described

Composer\Installers

CroogoInstaller{} WC 1.0

No Hooks.

Return

null. Nothing.

Usage

$CroogoInstaller = new CroogoInstaller();
// use class methods

Methods

  1. inflectPackageVars($vars)

Code of CroogoInstaller{} WC 5.3.0

<?php
class CroogoInstaller extends BaseInstaller
{
    protected $locations = array(
        'plugin' => 'Plugin/{$name}/',
        'theme' => 'View/Themed/{$name}/',
    );

    /**
     * Format package name to CamelCase
     */
    public function inflectPackageVars($vars)
    {
        $vars['name'] = strtolower(str_replace(array('-', '_'), ' ', $vars['name']));
        $vars['name'] = str_replace(' ', '', ucwords($vars['name']));

        return $vars;
    }
}