public function PHPUnit_Util_Printer::setAutoFlush

Set auto-flushing mode.

If set, *incremental* flushes will be done after each write. This should not be confused with the different effects of this class' flush() method.

@since Method available since Release 3.3.0

Parameters

boolean $autoFlush:

File

drupal/core/vendor/phpunit/phpunit/PHPUnit/Util/Printer.php, line 200

Class

PHPUnit_Util_Printer
Utility class that can print to STDOUT or write to a file.

Code

public function setAutoFlush($autoFlush) {
  if (is_bool($autoFlush)) {
    $this->autoFlush = $autoFlush;
  }
  else {
    throw PHPUnit_Util_InvalidArgumentHelper::factory(1, 'boolean');
  }
}