public function hasNext(): bool
    {
        return !empty($this->entries) && ($this->getStartIndex() + $this->getItemsPerPage() - 1 < $this->getTotalResults());
    }
public function hasNext(): bool
    {
        return !empty($this->entries) && ($this->getStartIndex() + $this->getItemsPerPage() - 1 < $this->getTotalResults());
    }
public function hasNext ( ) : bool { return ! empty ( $ this -> entries ) && ( $ this -> getStartIndex ( ) + $ this -> getItemsPerPage ( ) - 1 < $ this -> getTotalResults ( ) ) ; }
Return if this object list has a next list to load.

@return bool True if a next list exists, false otherwise.
Return if this object list has a next list to load .