public function setBaseQueryBuilder(QueryBuilder $baseQueryBuilder=null)
    {
        if($baseQueryBuilder === null)
        {
            $this->baseQueryBuilder = $this->getDefaultQueryBuilder();
        }
        else
        {
            $this->baseQueryBuilder = $baseQueryBuilder;
        }
    }
public function setBaseQueryBuilder(QueryBuilder $baseQueryBuilder=null)
    {
        if($baseQueryBuilder === null)
        {
            $this->baseQueryBuilder = $this->getDefaultQueryBuilder();
        }
        else
        {
            $this->baseQueryBuilder = $baseQueryBuilder;
        }
    }
public function setBaseQueryBuilder ( QueryBuilder $ baseQueryBuilder = null ) { if ( $ baseQueryBuilder === null ) { $ this -> baseQueryBuilder = $ this -> getDefaultQueryBuilder ( ) ; } else { $ this -> baseQueryBuilder = $ baseQueryBuilder ; } }
sets the base query builder

@param Query $baseQueryBuilder or null to reset the base query builder
sets the base query builder