From c8b9d299d5f90cfe3056d01d3c110ffa3cbe9546 Mon Sep 17 00:00:00 2001 From: jakoch Date: Sat, 11 Oct 2014 19:30:19 +0200 Subject: [PATCH] added $installer->isDryRun() --- src/Composer/Installer.php | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/Composer/Installer.php b/src/Composer/Installer.php index 2899e2bdb..e70eb537f 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 *