Explorar el Código

added $installer->isDryRun()

jakoch hace 10 años
padre
commit
c8b9d299d5
Se han modificado 1 ficheros con 10 adiciones y 0 borrados
  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
      *