public function run() { $this->progressBar->init($this->getStepCount()); foreach ($this->getAllowedQueue() as $templateGenerator) { $templateGenerator->generate(); } }
/** * @param int $size */ public function onGenerateProgress($size = 1) { $this->progressBar->increment($size); }