original_string: public function nextList()
      {
          if (!$this->hasNext()) {
              return false;
          }
  
          if (!isset($this->dataObjectFactory)) {
              throw new \LogicException('setDataObjectFactory must be called before calling nextList.');
          }
  
          if (!isset($this->objectListQuery)) {
              throw new \LogicException('setByFields must be called before calling nextList.');
          }
  
          $byFields = clone $this->objectListQuery;
          $range = Range::nextRange($this);
          $byFields->setRange($range);
  
          return $this->dataObjectFactory->selectRequest($byFields);
      }
code: public function nextList()
      {
          if (!$this->hasNext()) {
              return false;
          }
  
          if (!isset($this->dataObjectFactory)) {
              throw new \LogicException('setDataObjectFactory must be called before calling nextList.');
          }
  
          if (!isset($this->objectListQuery)) {
              throw new \LogicException('setByFields must be called before calling nextList.');
          }
  
          $byFields = clone $this->objectListQuery;
          $range = Range::nextRange($this);
          $byFields->setRange($range);
  
          return $this->dataObjectFactory->selectRequest($byFields);
      }
code_tokens: public function nextList ( ) { if ( ! $ this -> hasNext ( ) ) { return false ; } if ( ! isset ( $ this -> dataObjectFactory ) ) { throw new \ LogicException ( 'setDataObjectFactory must be called before calling nextList.' ) ; } if ( ! isset ( $ this -> objectListQuery ) ) { throw new \ LogicException ( 'setByFields must be called before calling nextList.' ) ; } $ byFields = clone $ this -> objectListQuery ; $ range = Range :: nextRange ( $ this ) ; $ byFields -> setRange ( $ range ) ; return $ this -> dataObjectFactory -> selectRequest ( $ byFields ) ; }
docstring: Return the next object list request, if one exists.
  
  @see \Lullabot\Mpx\DataService\ObjectList::setDataObjectFactory
  
  @return PromiseInterface|bool A promise to the next ObjectList, or false if no list exists.
docstring_tokens: Return the next object list request if one exists .