We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
PaginationAwareInterface
1 parent 1152539 commit bfa1500Copy full SHA for bfa1500
src/contracts/Values/Query/AbstractCriterionQuery.php
@@ -14,7 +14,7 @@
14
* @template TSortClause of \Ibexa\Contracts\CoreSearch\Values\Query\AbstractSortClause
15
* @template TCriterion of \Ibexa\Contracts\CoreSearch\Values\Query\Criterion\CriterionInterface
16
*/
17
-abstract class AbstractCriterionQuery
+abstract class AbstractCriterionQuery implements PaginationAwareInterface
18
{
19
public const int DEFAULT_LIMIT = 25;
20
src/contracts/Values/Query/PaginationAwareInterface.php
@@ -0,0 +1,10 @@
1
+<?php
2
+
3
+namespace Ibexa\Contracts\CoreSearch\Values\Query;
4
5
+interface PaginationAwareInterface
6
+{
7
+ public function getOffset(): int;
8
9
+ public function getLimit(): ?int;
10
+}
0 commit comments