protected function concatenateWhereClauses($query, $sql)
    {
        $conjunction = $query instanceof JoinClause ? 'on' : 'where';

        return $conjunction.' '.$this->removeLeadingBoolean(implode(' ', $sql));
    }
protected function concatenateWhereClauses($query, $sql)
    {
        $conjunction = $query instanceof JoinClause ? 'on' : 'where';

        return $conjunction.' '.$this->removeLeadingBoolean(implode(' ', $sql));
    }
protected function concatenateWhereClauses ( $ query , $ sql ) { $ conjunction = $ query instanceof JoinClause ? 'on' : 'where' ; return $ conjunction . ' ' . $ this -> removeLeadingBoolean ( implode ( ' ' , $ sql ) ) ; }
Format the where clause statements into one string.

@param  \Illuminate\Database\Query\Builder  $query
@param  array  $sql
@return string
Format the where clause statements into one string .