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

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

- Page: https://pluginprobe.com/plugins/ivyforms/0.1.2/code/backend/src/Repository/Notification/NotificationRepositoryInterface.php
- Raw: https://pluginprobe.com/plugins/ivyforms/0.1.2/raw/backend/src/Repository/Notification/NotificationRepositoryInterface.php
- Modified: 2025-06-12T10:29:14+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.1.2/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;
}

```
