ComposerInstallersPimcoreInstaller

The Simple Calendar Composer Installers PimcoreInstaller class.

Defined (1)

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

/vendor/composer/installers/src/Composer/Installers/PimcoreInstaller.php  
  1. class PimcoreInstaller extends BaseInstaller 
  2. protected $locations = array( 
  3. 'plugin' => 'plugins/{$name}/',  
  4. ); 
  5.  
  6. /** 
  7. * Format package name to CamelCase 
  8. */ 
  9. public function inflectPackageVars($vars) 
  10. $vars['name'] = strtolower(preg_replace('/(?<=\\w)([A-Z])/', '_\\1', $vars['name'])); 
  11. $vars['name'] = str_replace(array('-', '_'), ' ', $vars['name']); 
  12. $vars['name'] = str_replace(' ', '', ucwords($vars['name'])); 
  13.  
  14. return $vars;