ComposerInstallersExpressionEngineInstaller

The Simple Calendar Composer Installers ExpressionEngineInstaller class.

Defined (1)

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

/vendor/composer/installers/src/Composer/Installers/ExpressionEngineInstaller.php  
  1. class ExpressionEngineInstaller extends BaseInstaller 
  2.  
  3. protected $locations = array(); 
  4.  
  5. private $ee2Locations = array( 
  6. 'addon' => 'system/expressionengine/third_party/{$name}/',  
  7. 'theme' => 'themes/third_party/{$name}/',  
  8. ); 
  9.  
  10. private $ee3Locations = array( 
  11. 'addon' => 'system/user/addons/{$name}/',  
  12. 'theme' => 'themes/user/{$name}/',  
  13. ); 
  14.  
  15. public function getInstallPath(PackageInterface $package, $frameworkType = '') 
  16.  
  17. $version = "{$frameworkType}Locations"; 
  18. $this->locations = $this->$version; 
  19.  
  20. return parent::getInstallPath($package, $frameworkType);