You are here

public function ProgressHelper::setBarWidth in Zircon Profile 8.0

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

Sets the progress bar width.

Parameters

int $size The progress bar size:

File

vendor/symfony/console/Helper/ProgressHelper.php, line 133

Class

ProgressHelper
The Progress class provides helpers to display progress output.

Namespace

Symfony\Component\Console\Helper

Code

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