Jackalope\Query\RowIterator::__construct PHP Method

__construct() public method

Create the iterator.
public __construct ( Jackalope\FactoryInterface $factory, ObjectManager $objectManager, array $rows )
$factory Jackalope\FactoryInterface the object factory
$objectManager Jackalope\ObjectManager
$rows array Raw data as described in QueryResult and \Jackalope\Transport\TransportInterface
    public function __construct(FactoryInterface $factory, ObjectManager $objectManager, $rows)
    {
        $this->factory = $factory;
        $this->objectManager = $objectManager;
        $this->rows = $rows;
    }