Example #1
0
 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;
 }
Example #2
0
 protected function execute(InputInterface $input, OutputInterface $output)
 {
     return Config::getConfigFromFile($input->getOption('path'));
 }