| Conditions | 1 |
| Paths | 1 |
| Total Lines | 13 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 46 | public function getIterator() |
||
| 47 | { |
||
| 48 | $offset = $this->query->getFirstResult(); |
||
| 49 | $length = $this->query->getMaxResults(); |
||
| 50 | |||
| 51 | $result = $this->cloneQuery($this->query) |
||
| 52 | ->setMaxResults($length) |
||
| 53 | ->setFirstResult($offset) |
||
| 54 | ->execute() |
||
| 55 | ->fetchAll() |
||
| 56 | ; |
||
| 57 | |||
| 58 | return new ArrayIterator($result); |
||
| 59 | } |
||
| 70 |