Pinq\Iterators\Standard\ReindexedIterator::doFetch PHP Method

doFetch() protected method

protected doFetch ( )
    protected function doFetch()
    {
        if ($element = $this->iterator->fetch()) {
            $element[0] = $this->index++;
            return $element;
        }
    }