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

fetch() protected method

Populates the local buffer of elements fetched from the server during the iteration.
protected fetch ( )
    protected function fetch()
    {
        $elements = $this->executeCommand();
        if (count($elements) < $this->count) {
            $this->fetchmore = false;
        }
        $this->elements = $elements;
    }