public function PHPUnit_Util_Printer::setAutoFlush in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/phpunit/phpunit/src/Util/Printer.php \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
bool $autoFlush:
File
- vendor/
phpunit/ phpunit/ src/ Util/ Printer.php, line 161
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');
}
}