Browse Source

added $installer->isVerbose()

jakoch 10 years ago
parent
commit
24b4ce8831
1 changed files with 10 additions and 0 deletions
  1. 10 0
      src/Composer/Installer.php

+ 10 - 0
src/Composer/Installer.php

@@ -1166,6 +1166,16 @@ class Installer
         return $this;
     }
 
+    /**
+     * Checks, if running in verbose mode.
+     *
+     * @return bool
+     */
+    public function isVerbose()
+    {
+        return $this->verbose;
+    }
+
     /**
      * restrict the update operation to a few packages, all other packages
      * that are already installed will be kept at their current version