original_string: public function addInstallers(InstallerCollection $installers)
      {
          $installers->add(new MoodleInstaller($this->execute, $this->database, $this->moodle, new MoodleConfig(), $this->repo, $this->branch, $this->dataDir));
          $installers->add(new PluginInstaller($this->moodle, $this->plugin, $this->pluginsDir, $this->dumper));
          $installers->add(new VendorInstaller($this->moodle, $this->plugin, $this->execute));
  
          if ($this->noInit) {
              return;
          }
          if ($this->plugin->hasBehatFeatures() || $this->plugin->hasUnitTests()) {
              $installers->add(new TestSuiteInstaller($this->moodle, $this->plugin, $this->execute));
          }
      }
code: public function addInstallers(InstallerCollection $installers)
      {
          $installers->add(new MoodleInstaller($this->execute, $this->database, $this->moodle, new MoodleConfig(), $this->repo, $this->branch, $this->dataDir));
          $installers->add(new PluginInstaller($this->moodle, $this->plugin, $this->pluginsDir, $this->dumper));
          $installers->add(new VendorInstaller($this->moodle, $this->plugin, $this->execute));
  
          if ($this->noInit) {
              return;
          }
          if ($this->plugin->hasBehatFeatures() || $this->plugin->hasUnitTests()) {
              $installers->add(new TestSuiteInstaller($this->moodle, $this->plugin, $this->execute));
          }
      }
code_tokens: public function addInstallers ( InstallerCollection $ installers ) { $ installers -> add ( new MoodleInstaller ( $ this -> execute , $ this -> database , $ this -> moodle , new MoodleConfig ( ) , $ this -> repo , $ this -> branch , $ this -> dataDir ) ) ; $ installers -> add ( new PluginInstaller ( $ this -> moodle , $ this -> plugin , $ this -> pluginsDir , $ this -> dumper ) ) ; $ installers -> add ( new VendorInstaller ( $ this -> moodle , $ this -> plugin , $ this -> execute ) ) ; if ( $ this -> noInit ) { return ; } if ( $ this -> plugin -> hasBehatFeatures ( ) || $ this -> plugin -> hasUnitTests ( ) ) { $ installers -> add ( new TestSuiteInstaller ( $ this -> moodle , $ this -> plugin , $ this -> execute ) ) ; } }
docstring: Given a big bag of install options, add installers to the collection.
  
  @param InstallerCollection $installers Installers will be added to this
docstring_tokens: Given a big bag of install options add installers to the collection .