public function run() { $this->progressBar->init($this->getStepCount()); foreach ($this->getAllowedQueue() as $templateGenerator) { $templateGenerator->generate(); } }
private function generate(array $options) { $this->prepareDestination($options[CO::DESTINATION]); $this->io->writeln('<info>Generating API documentation</info>'); $this->generatorQueue->run(); }