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));
        }
    }
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));
        }
    }
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 ) ) ; } }
Given a big bag of install options, add installers to the collection.

@param InstallerCollection $installers Installers will be added to this
Given a big bag of install options add installers to the collection .