1 | <?php |
||
15 | final class RSMQueryResult implements Result |
||
16 | { |
||
17 | private $em; |
||
18 | private $rsm; |
||
19 | private $qb; |
||
20 | private $queryBuilderResult; |
||
21 | |||
22 | /** |
||
23 | * @param EntityManagerInterface $em |
||
24 | * @param ResultSetMappingBuilder $rsm |
||
25 | * @param QueryBuilder $qb |
||
26 | * @param callable|null $countQueryBuilderModifier |
||
27 | */ |
||
28 | 6 | public function __construct(EntityManagerInterface $em, ResultSetMappingBuilder $rsm, QueryBuilder $qb, callable $countQueryBuilderModifier = null) |
|
35 | |||
36 | /** |
||
37 | * {@inheritdoc} |
||
38 | */ |
||
39 | 4 | public function take($offset, $limit) |
|
54 | |||
55 | /** |
||
56 | * {@inheritdoc} |
||
57 | */ |
||
58 | 2 | public function count() |
|
62 | |||
63 | /** |
||
64 | * {@inheritdoc} |
||
65 | */ |
||
66 | 1 | public function getIterator() |
|
73 | } |
||
74 |