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);
    }
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);
    }
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 ) ; }
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.
Return the next object list request if one exists .