Doctrine


Doctrine\ORM\Internal\Hydration\IterableResult
/Doctrine/ORM/Internal/Hydration/IterableResult.php at line 31

Class IterableResult

IterableResult

public class IterableResult

Represents a result structure that can be iterated over, hydrating row-by-row during the iteration. An IterableResult is obtained by AbstractHydrator#iterate().

Author:
robo
Since:
2.0

Constructor Summary

IterableResult(Doctrine\ORM\Internal\Hydration\AbstractHydrator hydrator)

Method Summary
mixed

current()

int

key()

array

next()

Gets the next set of results.

void

rewind()

bool

valid()

Constructor Detail

/Doctrine/ORM/Internal/Hydration/IterableResult.php at line 56

IterableResult

public IterableResult(Doctrine\ORM\Internal\Hydration\AbstractHydrator hydrator)


Method Detail

/Doctrine/ORM/Internal/Hydration/IterableResult.php at line 86

current

public mixed current()


/Doctrine/ORM/Internal/Hydration/IterableResult.php at line 94

key

public int key()


/Doctrine/ORM/Internal/Hydration/IterableResult.php at line 76

next

public array next()

Gets the next set of results.


/Doctrine/ORM/Internal/Hydration/IterableResult.php at line 61

rewind

public void rewind()

/Doctrine/ORM/Internal/Hydration/IterableResult.php at line 102

valid

public bool valid()


Doctrine