ComposerInstallersAglInstaller

The WooCommerce Multilingual Composer Installers AglInstaller class.

Defined (1)

The class is defined in the following location(s).

/vendor/composer/installers/src/Composer/Installers/AglInstaller.php  
  1. class AglInstaller extends BaseInstaller 
  2. protected $locations = array( 
  3. 'module' => 'More/{$name}/',  
  4. ); 
  5.  
  6. /** 
  7. * Format package name to CamelCase 
  8. */ 
  9. public function inflectPackageVars($vars) 
  10. $vars['name'] = preg_replace_callback('/(?:^|_|-)(.?)/', function ($matches) { 
  11. return strtoupper($matches[1]); 
  12. }, $vars['name']); 
  13.  
  14. return $vars;