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