ComposerInstallersCroogoInstaller

The Simple Calendar Composer Installers CroogoInstaller class.

Defined (1)

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

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