示例#1
0
 private function configureProcessor(ConfigurableProcessor $processor)
 {
     if ($this->dryRun === true) {
         $processor->setDryRun();
     }
     if ($this->isBackupEnabled === true) {
         $processor->enableBackup();
     }
     if ($this->systemEnvironment !== null) {
         $processor->setSystemEnvironment($this->systemEnvironment);
         $this->app['logger']->info(sprintf('Hydrate <important>system</important> variables with <important>%s</important> values', $this->systemEnvironment));
     }
 }
示例#2
0
文件: Hydrate.php 项目: lebris/karma
 protected function launchConfigurationAction(ConfigurableProcessor $processor)
 {
     $processor->hydrate($this->environment);
     $this->warnForUnusedVariables($processor);
     $this->warnForUnvaluedVariables($processor);
 }
示例#3
0
文件: Generate.php 项目: lebris/karma
 protected function launchConfigurationAction(ConfigurableProcessor $processor)
 {
     $processor->generate($this->environment);
 }