You are here

class AglInstaller in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/composer/installers/src/Composer/Installers/AglInstaller.php \Composer\Installers\AglInstaller

Hierarchy

Expanded class hierarchy of AglInstaller

File

vendor/composer/installers/src/Composer/Installers/AglInstaller.php, line 4

Namespace

Composer\Installers
View source
class AglInstaller extends BaseInstaller {
  protected $locations = array(
    'module' => 'More/{$name}/',
  );

  /**
   * Format package name to CamelCase
   */
  public function inflectPackageVars($vars) {
    $vars['name'] = preg_replace_callback('/(?:^|_|-)(.?)/', function ($matches) {
      return strtoupper($matches[1]);
    }, $vars['name']);
    return $vars;
  }

}

Members

Namesort descending Modifiers Type Description Overrides
AglInstaller::$locations protected property Overrides BaseInstaller::$locations
AglInstaller::inflectPackageVars public function Format package name to CamelCase Overrides BaseInstaller::inflectPackageVars
BaseInstaller::$composer protected property
BaseInstaller::$package protected property
BaseInstaller::getInstallPath public function Return the install path based on package type. 1
BaseInstaller::getLocations public function Gets the installer's locations 1
BaseInstaller::mapCustomInstallPaths protected function Search through a passed paths array for a custom install path.
BaseInstaller::templatePath protected function Replace vars in a path
BaseInstaller::__construct public function Initializes base installer.