# ivyforms/1.4.1/backend/src/Repository/GoogleSheets/GoogleSheetsRepositoryInterface.php

The Innovative Form Builder – IvyForms, version 1.4.1. 33 lines.

- Page: https://pluginprobe.com/plugins/ivyforms/1.4.1/code/backend/src/Repository/GoogleSheets/GoogleSheetsRepositoryInterface.php
- Raw: https://pluginprobe.com/plugins/ivyforms/1.4.1/raw/backend/src/Repository/GoogleSheets/GoogleSheetsRepositoryInterface.php
- Modified: 2026-07-15T16:27:54+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/ivyforms/1.4.1/code/backend/src/Repository/GoogleSheets/GoogleSheetsRepositoryInterface.php#L10-L20`.

```php
<?php

namespace IvyForms\Repository\GoogleSheets;

use IvyForms\Entity\GoogleSheets\GoogleSheetIntegration;
use IvyForms\Repository\BaseRepositoryInterface;

/**
 * Google Sheets repository interface.
 */
interface GoogleSheetsRepositoryInterface extends BaseRepositoryInterface
{
    public function findById(int $id): ?GoogleSheetIntegration;

    /**
     * @return array<GoogleSheetIntegration>
     */
    public function findByFormId(int $formId): array;

    /**
     * @return array<GoogleSheetIntegration>
     */
    public function findEnabledByFormId(int $formId): array;

    public function countByFormId(int $formId): int;

    public function deleteById(int $id): bool;

    public function deleteByFormId(int $formId): bool;

    public function updateSyncStatus(int $id, string $status, ?string $lastRunAt = null): bool;
}

```
