function drush_composer_manager_update_autoloader in Composer Manager 7.2
Same name and namespace in other branches
- 7 composer_manager.drush.inc \drush_composer_manager_update_autoloader()
Add new autoloader paths to the Class Loader.
1 call to drush_composer_manager_update_autoloader()
- drush_composer_manager in ./
composer_manager.drush.inc - Executes a Composer command on Composer Manager's composer.json file.
File
- ./
composer_manager.drush.inc, line 161 - Drush hook implementations for the Composer Manager module.
Code
function drush_composer_manager_update_autoloader() {
$loader = composer_manager_register_autoloader();
$composer = composer_manager_vendor_dir() . '/composer';
drush_composer_manager_update_classmap($loader, $composer);
drush_composer_manager_update_psr4($loader, $composer);
drush_composer_manager_update_psr0($loader, $composer);
drush_composer_manager_update_files($composer);
}