phpbb\install\helper\iohandler\cli_iohandler::set_progress PHP Method

set_progress() public method

public set_progress ( $task_lang_key, $task_number )
    public function set_progress($task_lang_key, $task_number)
    {
        parent::set_progress($task_lang_key, $task_number);
        if ($this->progress_bar !== null) {
            $this->progress_bar->setProgress($this->current_task_progress);
            $this->progress_bar->setMessage($this->current_task_name);
        } else {
            $this->output->writeln(sprintf('[%3d/%-3d] %s', $this->current_task_progress, $this->task_progress_count, $this->current_task_name));
        }
    }