You are here

public static function MergePlugin::getSubscribedEvents in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/wikimedia/composer-merge-plugin/src/MergePlugin.php \Wikimedia\Composer\MergePlugin::getSubscribedEvents()

File

vendor/wikimedia/composer-merge-plugin/src/MergePlugin.php, line 124

Class

MergePlugin
Composer plugin that allows merging multiple composer.json files.

Namespace

Wikimedia\Composer

Code

public static function getSubscribedEvents() {
  return array(
    InstallerEvents::PRE_DEPENDENCIES_SOLVING => 'onDependencySolve',
    PackageEvents::POST_PACKAGE_INSTALL => 'onPostPackageInstall',
    ScriptEvents::POST_INSTALL_CMD => 'onPostInstallOrUpdate',
    ScriptEvents::POST_UPDATE_CMD => 'onPostInstallOrUpdate',
    ScriptEvents::PRE_AUTOLOAD_DUMP => 'onInstallUpdateOrDump',
    ScriptEvents::PRE_INSTALL_CMD => 'onInstallUpdateOrDump',
    ScriptEvents::PRE_UPDATE_CMD => 'onInstallUpdateOrDump',
  );
}