private function setManyToManyJoin($table, $alias, $condition = null)
    {
        if (!in_array($alias, $this->tables)) {
            if ($condition) {
                $this->queryBuilder->join($table, $alias, 'WITH', $condition);
            } else {
                $this->queryBuilder->join($table, $alias);
            }
            $this->tables[] = $alias;
        }
    }
private function setManyToManyJoin($table, $alias, $condition = null)
    {
        if (!in_array($alias, $this->tables)) {
            if ($condition) {
                $this->queryBuilder->join($table, $alias, 'WITH', $condition);
            } else {
                $this->queryBuilder->join($table, $alias);
            }
            $this->tables[] = $alias;
        }
    }
private function setManyToManyJoin ( $ table , $ alias , $ condition = null ) { if ( ! in_array ( $ alias , $ this -> tables ) ) { if ( $ condition ) { $ this -> queryBuilder -> join ( $ table , $ alias , 'WITH' , $ condition ) ; } else { $ this -> queryBuilder -> join ( $ table , $ alias ) ; } $ this -> tables [ ] = $ alias ; } }
Create a manyToMany join.

@param string $table
@param string $alias
@param mix    $condition
Create a manyToMany join .