GrumPHP\Event\Subscriber\ProgressSubscriber::__construct PHP Метод

__construct() публичный Метод

public __construct ( Symfony\Component\Console\Output\OutputInterface $output, ProgressBar $progressBar )
$output Symfony\Component\Console\Output\OutputInterface
$progressBar Symfony\Component\Console\Helper\ProgressBar
    public function __construct(OutputInterface $output, ProgressBar $progressBar)
    {
        $this->output = $output;
        $this->progressBar = $progressBar ?: new ProgressBar($output);
        $this->progressBar->setOverwrite(false);
        $this->progressFormat = "<fg=yellow>Running task %current%/%max%:</fg=yellow> %message%";
    }