File tree 2 files changed +34
-0
lines changed
2 files changed +34
-0
lines changed Original file line number Diff line number Diff line change @@ -50,6 +50,7 @@ parameters:
50
50
- stubs/ORM/Query/Expr/Composite.stub
51
51
- stubs/ORM/Query/Expr/Func.stub
52
52
- stubs/ORM/Query/Expr/Join.stub
53
+ - stubs/ORM/Tools/Pagination/Paginator.stub
53
54
- stubs/Persistence/Mapping/ClassMetadata.stub
54
55
- stubs/ServiceDocumentRepository.stub
55
56
Original file line number Diff line number Diff line change
1
+ <?php
2
+
3
+ namespace Doctrine\ORM\Tools\Pagination;
4
+
5
+ use ArrayIterator;
6
+ use Countable;
7
+ use Doctrine\ORM\Query;
8
+ use Doctrine\ORM\QueryBuilder;
9
+ use IteratorAggregate;
10
+
11
+ /**
12
+ * @template T
13
+ * @implements IteratorAggregate<array-key, T>
14
+ */
15
+ class Paginator implements Countable, IteratorAggregate
16
+ {
17
+
18
+ /**
19
+ * @param Query<mixed, T>|QueryBuilder $query
20
+ * @param bool $fetchJoinCollection
21
+ */
22
+ public function __construct($query, $fetchJoinCollection = true)
23
+ {
24
+ }
25
+
26
+ /**
27
+ * @return ArrayIterator<array-key, T>
28
+ */
29
+ public function getIterator()
30
+ {
31
+ }
32
+
33
+ }
You can’t perform that action at this time.
0 commit comments