src/QueryBuilder.php
public function newQuery() {
        $factory = $this->factory;
        $factory->setServiceLocator($this->serviceLocator);
        return $factory->get($this->queryClassName)->setParent($this);
    }
public function newQuery() {
        $factory = $this->factory;
        $factory->setServiceLocator($this->serviceLocator);
        return $factory->get($this->queryClassName)->setParent($this);
    }
public function newQuery ( ) { $ factory = $ this -> factory ; $ factory -> setServiceLocator ( $ this -> serviceLocator ) ; return $ factory -> get ( $ this -> queryClassName ) -> setParent ( $ this ) ; }
generate a new query
@return \oat\search\base\QueryInterface
generate a new query