# ivyforms/0.8/backend/src/Repository/Notification/NotificationRepositoryInterface.php

The Innovative Form Builder – IvyForms, version 0.8. 29 lines.

- Page: https://pluginprobe.com/plugins/ivyforms/0.8/code/backend/src/Repository/Notification/NotificationRepositoryInterface.php
- Raw: https://pluginprobe.com/plugins/ivyforms/0.8/raw/backend/src/Repository/Notification/NotificationRepositoryInterface.php
- Modified: 2026-01-13T11:11:38+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/0.8/code/backend/src/Repository/Notification/NotificationRepositoryInterface.php#L10-L20`.

```php
<?php

namespace IvyForms\Repository\Notification;

// phpcs:disable PSR1.Files.SideEffects
if (!defined('ABSPATH')) {
    exit; // Exit if accessed directly
}

use IvyForms\Repository\BaseRepositoryInterface;

interface NotificationRepositoryInterface extends BaseRepositoryInterface
{
    /**
     * Get all notifications by ID.
     *
     * @param int $id
     *
     * @return array<mixed>
     */
    public function getAllById(int $id): array;
    /**
     * Get all active notifications.
     *
     * @return array<mixed>
     */
    public function getAllActiveById(int $id): array;
}

```
