You are here

RoundcubeInstaller.php in Zircon Profile 8.0

File

vendor/composer/installers/src/Composer/Installers/RoundcubeInstaller.php
View source
<?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;
  }

}

Classes

Namesort descending Description
RoundcubeInstaller