コード例 #1
0
 /**
  * Run the entire install process.
  *
  * @param InstallerCollection $installers
  */
 public function runInstallation(InstallerCollection $installers)
 {
     $this->output->start('Starting install', $installers->sumStepCount() + 1);
     foreach ($installers->all() as $installer) {
         $installer->install();
     }
     $this->output->end('Install completed');
 }
コード例 #2
0
ファイル: Install.php プロジェクト: gjb2048/moodle-plugin-ci
 /**
  * Run the entire install process.
  *
  * @param InstallerCollection $installers
  * @param EnvDumper           $envDumper
  */
 public function runInstallation(InstallerCollection $installers, EnvDumper $envDumper)
 {
     $this->output->start('Starting install', $installers->sumStepCount() + 1);
     foreach ($installers->all() as $installer) {
         $installer->install();
     }
     $envDumper->dump($installers->mergeEnv());
     $this->output->end('Install completed');
 }