src/AbstractQuerySerialyser.php
protected function setNextSeparator($and) {
        if(!is_null($this->nextSeparator)) {
            
            $this->addSeparator($this->nextSeparator);
        }
        $this->nextSeparator = $and;
        return $this;
    }
protected function setNextSeparator($and) {
        if(!is_null($this->nextSeparator)) {
            
            $this->addSeparator($this->nextSeparator);
        }
        $this->nextSeparator = $and;
        return $this;
    }
protected function setNextSeparator ( $ and ) { if ( ! is_null ( $ this -> nextSeparator ) ) { $ this -> addSeparator ( $ this -> nextSeparator ) ; } $ this -> nextSeparator = $ and ; return $ this ; }
change next separator to "and" or "or"
@param boolean $and
@return $this
change next separator to and or or