ApiGen\Generator\GeneratorQueue::run PHP Method

run() public method

public run ( )
    public function run()
    {
        $this->progressBar->init($this->getStepCount());
        foreach ($this->getAllowedQueue() as $templateGenerator) {
            $templateGenerator->generate();
        }
    }

Usage Example

 private function generate(array $options)
 {
     $this->prepareDestination($options[CO::DESTINATION]);
     $this->io->writeln('<info>Generating API documentation</info>');
     $this->generatorQueue->run();
 }