Przeglądaj źródła

added $installer->isDryRun()

jakoch 10 lat temu
rodzic
commit
c8b9d299d5
1 zmienionych plików z 10 dodań i 0 usunięć
  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
      *