protected function flush($maxBufferLevel = null)
    {
        if (null === $maxBufferLevel) {
            $maxBufferLevel = ob_get_level();
        }

        while (ob_get_level() > $maxBufferLevel) {
            ob_end_flush();
        }
    }
protected function flush($maxBufferLevel = null)
    {
        if (null === $maxBufferLevel) {
            $maxBufferLevel = ob_get_level();
        }

        while (ob_get_level() > $maxBufferLevel) {
            ob_end_flush();
        }
    }
protected function flush ( $ maxBufferLevel = null ) { if ( null === $ maxBufferLevel ) { $ maxBufferLevel = ob_get_level ( ) ; } while ( ob_get_level ( ) > $ maxBufferLevel ) { ob_end_flush ( ) ; } }
Loops through the output buffer, flushing each, before emitting
the response.

@param int|null $maxBufferLevel Flush up to this buffer level.
@return void
Loops through the output buffer flushing each before emitting the response .