コード例 #1
0
ファイル: Run.php プロジェクト: linusshops/prophet
 private function loadClasses($modulesRequested, Config $config, InputInterface $input, OutputInterface $output)
 {
     $loaded = true;
     if (!$config->hasModules()) {
         $output->writeln('<error>No modules found in prophet.json.</error>');
         $loaded = false;
     } else {
         $this->showRequestedModuleList($modulesRequested, $output);
     }
     return $loaded;
 }
コード例 #2
0
ファイル: ProphetCommand.php プロジェクト: linusshops/prophet
 protected function execute(InputInterface $input, OutputInterface $output)
 {
     return Config::getConfigFromFile($input->getOption('path'));
 }