public static function Command::rebuild in Composer Manager 8
Rebuilds the root package.
File
- src/
Composer/ Command.php, line 22
Class
- Command
- Callbacks for Composer commands defined by Composer Manager.
Namespace
Drupal\composer_manager\ComposerCode
public static function rebuild(Event $event) {
$package_manager = self::getPackageManager();
$package_manager
->rebuildRootPackage();
echo 'The composer.json has been successfuly rebuilt.' . PHP_EOL;
}