public function finish_progress($message_lang_key) { if (!empty($message_lang_key)) { $this->current_task_name = $this->language->lang($message_lang_key); } $this->current_task_progress = $this->task_progress_count; }
/** * {@inheritdoc} */ public function finish_progress($message_lang_key) { parent::finish_progress($message_lang_key); if ($this->progress_bar !== null) { $this->progress_bar->finish(); $this->progress_bar = null; } }