public function flush()
    {
        if (!$this->progress) {
            $this->log('');

            foreach ($this->logs as $message) {
                $this->log($message);
            }

            $this->logs = [];
        }
    }
public function flush()
    {
        if (!$this->progress) {
            $this->log('');

            foreach ($this->logs as $message) {
                $this->log($message);
            }

            $this->logs = [];
        }
    }
public function flush ( ) { if ( ! $ this -> progress ) { $ this -> log ( '' ) ; foreach ( $ this -> logs as $ message ) { $ this -> log ( $ message ) ; } $ this -> logs = [ ] ; } }
Flush message queue
Flush message queue