You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Added `getPageRequestParameters` method: use it to load next page parameters from `$fileListResponse->getNext()`/`$fileListResponse->getPrevious()`.
12
-
-**Attention**: if you implement your own class for `FileApiInterface`, add `public getPageRequestParameters(?string $url): array` method to implementation.
9
+
### Fix for an issue with the file list pagination
10
+
- Added `getPageRequestParameters` method: use it to load the next page parameters from `$fileListResponse->getNext()`/`$fileListResponse->getPrevious()`.
11
+
-**Attention**: if you've implemented your own class for `FileApiInterface`, add `public getPageRequestParameters(?string $url): array` method to the implementation.
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -187,7 +187,7 @@ After that, you can access to file operation methods:
187
187
$files = $page->getResults();
188
188
}
189
189
```
190
-
- `getPageRequestParameters(string | null $url)` — get array with next page request parameters. Use it for create links to previous/next page of list.
190
+
- `getPageRequestParameters(string | null $url)` — Get an array with next page request parameters. Use it to create links to the previous/next page of the list.
191
191
- `storeFile(string $id)` — Stores a single file by UUID. Returns the `Uploadcare\File` (`FileInfoInterface`).
0 commit comments