You are here

public function ProgressBar::setBarWidth in Zircon Profile 8.0

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

Sets the progress bar width.

Parameters

int $size The progress bar size:

File

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

Class

ProgressBar
The ProgressBar provides helpers to display progress output.

Namespace

Symfony\Component\Console\Helper

Code

public function setBarWidth($size) {
  $this->barWidth = (int) $size;
}