You are here

public function OutputStyle::createProgressBar in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/console/Style/OutputStyle.php \Symfony\Component\Console\Style\OutputStyle::createProgressBar()

Parameters

int $max:

Return value

ProgressBar

1 call to OutputStyle::createProgressBar()
SymfonyStyle::createProgressBar in vendor/symfony/console/Style/SymfonyStyle.php
1 method overrides OutputStyle::createProgressBar()
SymfonyStyle::createProgressBar in vendor/symfony/console/Style/SymfonyStyle.php

File

vendor/symfony/console/Style/OutputStyle.php, line 48

Class

OutputStyle
Decorates output to add console style guide helpers.

Namespace

Symfony\Component\Console\Style

Code

public function createProgressBar($max = 0) {
  return new ProgressBar($this->output, $max);
}