PHPUnit_Util_Printer::setAutoFlush PHP Method

setAutoFlush() public method

If set, *incremental* flushes will be done after each write. This should not be confused with the different effects of this class' flush() method.
public setAutoFlush ( boolean $autoFlush )
$autoFlush boolean
    public function setAutoFlush($autoFlush)
    {
        if (is_bool($autoFlush)) {
            $this->autoFlush = $autoFlush;
        } else {
            throw PHPUnit_Util_InvalidArgumentHelper::factory(1, 'boolean');
        }
    }