diff --git a/src/Composer/Installer.php b/src/Composer/Installer.php index 2899e2bdb..071b1d4fc 100644 --- a/src/Composer/Installer.php +++ b/src/Composer/Installer.php @@ -1052,6 +1052,16 @@ class Installer return $this; } + /** + * Checks, if this is a dry run (simulation mode). + * + * @return bool + */ + public function isDryRun() + { + return $this->dryRun; + } + /** * prefer source installation * @@ -1156,6 +1166,16 @@ class Installer return $this; } + /** + * Checks, if running in verbose mode. + * + * @return bool + */ + public function isVerbose() + { + return $this->verbose; + } + /** * restrict the update operation to a few packages, all other packages * that are already installed will be kept at their current version