File tree Expand file tree Collapse file tree 1 file changed +9
-11
lines changed Expand file tree Collapse file tree 1 file changed +9
-11
lines changed Original file line number Diff line number Diff line change @@ -543,14 +543,12 @@ class BookRepository extends ServiceEntityRepository
543
543
}
544
544
` ` `
545
545
546
- # # Pagination for Customer Data Providers
547
-
548
- If you're using a customer Data Providers, and not the Doctrine ORM, ODM or
549
- ElasticSearch provides, then if you want your results to be paginated then
550
- you'll need to return an instance of a
551
- ` \A piPlatform\C ore\D ataProvider\P artialPaginatorInterface` or
552
- ` \A piPlatform\C ore\D ataProvider\P aginatorInterface` . A few existing classes are
553
- provided to get you started with these…
554
-
555
- * `\ApiPlatform\Core\DataProvider\ArrayPaginator`
556
- * `\ApiPlatform\Core\DataProvider\TraversablePaginator`
546
+ # # Pagination for Custom Data Providers
547
+
548
+ If you are using custom data providers (not the provided Doctrine ORM, ODM or ElasticSearch ones)
549
+ and if you want your results to be paginated, you will need to return an instance of a
550
+ ` ApiPlatform\C ore\D ataProvider\P artialPaginatorInterface` or
551
+ ` ApiPlatform\C ore\D ataProvider\P aginatorInterface` .
552
+ A few existing classes are provided to make it easier to paginate the results :
553
+ * `ApiPlatform\Core\DataProvider\ArrayPaginator`
554
+ * `ApiPlatform\Core\DataProvider\TraversablePaginator`
You can’t perform that action at this time.
0 commit comments