You are here

public function ProgressBar::setRedrawFrequency 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::setRedrawFrequency()

Sets the redraw frequency.

Parameters

int $freq The frequency in steps:

1 call to ProgressBar::setRedrawFrequency()
ProgressBar::__construct in vendor/symfony/console/Helper/ProgressBar.php
Constructor.

File

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

Class

ProgressBar
The ProgressBar provides helpers to display progress output.

Namespace

Symfony\Component\Console\Helper

Code

public function setRedrawFrequency($freq) {
  $this->redrawFreq = (int) $freq;
}