public function flush() {
        if ($this->count == 0) {
            return;
        }
        $events = $this->buffer;
        $this->count = 0;
        $this->buffer = array();
        $this->insert_event_entries($events);
    }
public function flush() {
        if ($this->count == 0) {
            return;
        }
        $events = $this->buffer;
        $this->count = 0;
        $this->buffer = array();
        $this->insert_event_entries($events);
    }
public function flush ( ) { if ( $ this -> count == 0 ) { return ; } $ events = $ this -> buffer ; $ this -> count = 0 ; $ this -> buffer = array ( ) ; $ this -> insert_event_entries ( $ events ) ; }
Flush event buffer.
Flush event buffer .