Sfoglia il codice sorgente

added $installer->isDryRun()

jakoch 10 anni fa
parent
commit
c8b9d299d5
1 ha cambiato i file con 10 aggiunte e 0 eliminazioni
  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
      *