class Symfony1Installer in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/composer/installers/src/Composer/Installers/Symfony1Installer.php \Composer\Installers\Symfony1Installer
Plugin installer for symfony 1.x
@author Jérôme Tamarelle <jerome@tamarelle.net>
Hierarchy
- class \Composer\Installers\BaseInstaller
- class \Composer\Installers\Symfony1Installer
Expanded class hierarchy of Symfony1Installer
File
- vendor/
composer/ installers/ src/ Composer/ Installers/ Symfony1Installer.php, line 9
Namespace
Composer\InstallersView source
class Symfony1Installer extends BaseInstaller {
protected $locations = array(
'plugin' => 'plugins/{$name}/',
);
/**
* Format package name to CamelCase
*/
public function inflectPackageVars($vars) {
$vars['name'] = preg_replace_callback('/(-[a-z])/', function ($matches) {
return strtoupper($matches[0][1]);
}, $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. | |
Symfony1Installer:: |
protected | property |
Overrides BaseInstaller:: |
|
Symfony1Installer:: |
public | function |
Format package name to CamelCase Overrides BaseInstaller:: |