You are here

public function ProgressBar::setFormat in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/console/Helper/ProgressBar.php \Symfony\Component\Console\Helper\ProgressBar::setFormat()

Sets the progress bar format.

Parameters

string $format The format:

File

vendor/symfony/console/Helper/ProgressBar.php, line 310

Class

ProgressBar
The ProgressBar provides helpers to display progress output.

Namespace

Symfony\Component\Console\Helper

Code

public function setFormat($format) {
  $this->format = null;
  $this->internalFormat = $format;
}