Jackalope\Query\QueryResult::getIterator PHP Method

getIterator() public method

Implement the IteratorAggregate interface and returns exactly the same iterator as QueryResult::getRows()
public getIterator ( ) : Iterator
return Iterator implementing SeekableIterator and Countable. Keys are the row position in this result set, Values are the RowInterface instances.
    public function getIterator()
    {
        return $this->getRows();
    }