src/AbstractSearchGateWay.php
public function query() {
        $builder = $this->getServiceLocator()->get($this->builderClassName);
        $builder->setOptions($this->options)->setServiceLocator($this->serviceLocator);
        return $builder;
    }
public function query() {
        $builder = $this->getServiceLocator()->get($this->builderClassName);
        $builder->setOptions($this->options)->setServiceLocator($this->serviceLocator);
        return $builder;
    }
public function query ( ) { $ builder = $ this -> getServiceLocator ( ) -> get ( $ this -> builderClassName ) ; $ builder -> setOptions ( $ this -> options ) -> setServiceLocator ( $ this -> serviceLocator ) ; return $ builder ; }
query builder factory
@return QueryBuilder
query builder factory