You are here

AglInstaller.php in Zircon Profile 8.0

Same filename and directory in other branches
  1. 8 vendor/composer/installers/src/Composer/Installers/AglInstaller.php

File

vendor/composer/installers/src/Composer/Installers/AglInstaller.php
View source
<?php

namespace Composer\Installers;

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;
  }

}

Classes

Namesort descending Description
AglInstaller