class CroogoInstaller in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/composer/installers/src/Composer/Installers/CroogoInstaller.php \Composer\Installers\CroogoInstaller
Hierarchy
- class \Composer\Installers\BaseInstaller
- class \Composer\Installers\CroogoInstaller
Expanded class hierarchy of CroogoInstaller
File
- vendor/
composer/ installers/ src/ Composer/ Installers/ CroogoInstaller.php, line 4
Namespace
Composer\InstallersView source
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;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
BaseInstaller:: |
protected | property | ||
BaseInstaller:: |
protected | property | ||
BaseInstaller:: |
public | function | Return the install path based on package type. | 1 |
BaseInstaller:: |
public | function | Gets the installer's locations | 1 |
BaseInstaller:: |
protected | function | Search through a passed paths array for a custom install path. | |
BaseInstaller:: |
protected | function | Replace vars in a path | |
BaseInstaller:: |
public | function | Initializes base installer. | |
CroogoInstaller:: |
protected | property |
Overrides BaseInstaller:: |
|
CroogoInstaller:: |
public | function |
Format package name to CamelCase Overrides BaseInstaller:: |