Переглянути джерело

added $installer->isDryRun()

jakoch 10 роки тому
батько
коміт
c8b9d299d5
1 змінених файлів з 10 додано та 0 видалено
  1. 10 0
      src/Composer/Installer.php

+ 10 - 0
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
      *