public function flush()
    {
        $this->buffer = array_merge($this->cache, $this->buffer);

        return file_put_contents($this->options->get('store'), json_encode($this->buffer));
    }
public function flush()
    {
        $this->buffer = array_merge($this->cache, $this->buffer);

        return file_put_contents($this->options->get('store'), json_encode($this->buffer));
    }
public function flush ( ) { $ this -> buffer = array_merge ( $ this -> cache , $ this -> buffer ) ; return file_put_contents ( $ this -> options -> get ( 'store' ) , json_encode ( $ this -> buffer ) ) ; }
Flush the buffer to file.

@return boolean
Flush the buffer to file .