PluginProbe
The Innovative Form Builder – IvyForms / 1.5.1
The Innovative Form Builder – IvyForms v1.5.1
1.5.1 1.5 1.4.1 1.4 trunk 0.1.2 0.2 0.2.1 0.3 0.3.1 0.4 0.5 0.6 0.6.1 0.6.1-backup 0.6.1.1 0.7 0.8 0.8.1 0.8.2 0.9 0.9.1 1.0 1.1 1.1.1 All 27 releases
ivyforms / backend / src / Repository / GoogleSheets / GoogleSheetsRepositoryInterface.php

GoogleSheetsRepositoryInterface.php in The Innovative Form Builder – IvyForms 1.5.1, at backend/src/Repository/GoogleSheets/GoogleSheetsRepositoryInterface.php

33 lines 842 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 namespace IvyForms\Repository\GoogleSheets;
4
5 use IvyForms\Entity\GoogleSheets\GoogleSheetIntegration;
6 use IvyForms\Repository\BaseRepositoryInterface;
7
8 /**
9 * Google Sheets repository interface.
10 */
11 interface GoogleSheetsRepositoryInterface extends BaseRepositoryInterface
12 {
13 public function findById(int $id): ?GoogleSheetIntegration;
14
15 /**
16 * @return array<GoogleSheetIntegration>
17 */
18 public function findByFormId(int $formId): array;
19
20 /**
21 * @return array<GoogleSheetIntegration>
22 */
23 public function findEnabledByFormId(int $formId): array;
24
25 public function countByFormId(int $formId): int;
26
27 public function deleteById(int $id): bool;
28
29 public function deleteByFormId(int $formId): bool;
30
31 public function updateSyncStatus(int $id, string $status, ?string $lastRunAt = null): bool;
32 }
33