23 lines
457 B
PHP
23 lines
457 B
PHP
<?php
|
|
namespace Composer\Installers;
|
|
|
|
class RoundcubeInstaller extends BaseInstaller
|
|
{
|
|
protected $locations = array(
|
|
'plugin' => 'plugins/{$name}/',
|
|
);
|
|
|
|
/**
|
|
* Lowercase name and changes the name to a underscores
|
|
*
|
|
* @param array $vars
|
|
* @return array
|
|
*/
|
|
public function inflectPackageVars($vars)
|
|
{
|
|
$vars['name'] = strtolower(str_replace('-', '_', $vars['name']));
|
|
|
|
return $vars;
|
|
}
|
|
}
|