← All changes
|
backend/src/Repository/Entry/EntryRepositoryInterface.php
+8
-0
0.8
→
1.5.1
View file →
| @@ -67,5 +67,13 @@ | ||
| 67 | 67 | * @param array<int, array<string, mixed>> $entries |
| 68 | 68 | * @return array<mixed> |
| 69 | 69 | */ |
| 70 | 70 | public function getEntryFields(array $entries): array; |
| 71 | + | |
| 72 | + /** | |
| 73 | + * Resolve owning form IDs for the given entry IDs in a single query. | |
| 74 | + * | |
| 75 | + * @param int[] $entryIds | |
| 76 | + * @return array<int, int> entryId => formId | |
| 77 | + */ | |
| 78 | + public function getFormIdsByEntryIds(array $entryIds): array; | |
| 71 | 79 | } |