Skip to content

Commit f1e80f4

Browse files
committed
Add paginationViaCursor to ApiResource
1 parent 472609c commit f1e80f4

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/Annotation/ApiResource.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@
5454
* @Attribute("paginationFetchJoinCollection", type="bool"),
5555
* @Attribute("paginationItemsPerPage", type="int"),
5656
* @Attribute("paginationPartial", type="bool"),
57+
* @Attribute("paginationViaCursor", type="array"),
5758
* @Attribute("routePrefix", type="string"),
5859
* @Attribute("shortName", type="string"),
5960
* @Attribute("subresourceOperations", type="array"),
@@ -304,6 +305,13 @@ final class ApiResource
304305
*/
305306
private $openapiContext;
306307

308+
/**
309+
* @see https://github.com/Haehnchen/idea-php-annotation-plugin/issues/112
310+
*
311+
* @var array
312+
*/
313+
private $paginationViaCursor;
314+
307315
/**
308316
* @throws InvalidArgumentException
309317
*/

0 commit comments

Comments
 (0)