Predis\Collection\Iterator\ListKey::executeCommand PHP Method

executeCommand() protected method

Fetches a new set of elements from the remote collection, effectively advancing the iteration process.
protected executeCommand ( ) : array
return array
    protected function executeCommand()
    {
        return $this->client->lrange($this->key, $this->position + 1, $this->position + $this->count);
    }