PluginProbe
The Innovative Form Builder – IvyForms / 1.5
The Innovative Form Builder – IvyForms v1.5
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
← All changes | backend/src/Repository/Notification/NotificationRepositoryInterface.php +28 -0 0.6.1 → 1.5 View file →
@@ -1,0 +1,28 @@
1 +<?php
2 +
3 +namespace IvyForms\Repository\Notification;
4 +
5 +// phpcs:disable PSR1.Files.SideEffects
6 +if (!defined('ABSPATH')) {
7 + exit; // Exit if accessed directly
8 +}
9 +
10 +use IvyForms\Repository\BaseRepositoryInterface;
11 +
12 +interface NotificationRepositoryInterface extends BaseRepositoryInterface
13 +{
14 + /**
15 + * Get all notifications by ID.
16 + *
17 + * @param int $id
18 + *
19 + * @return array<mixed>
20 + */
21 + public function getAllById(int $id): array;
22 + /**
23 + * Get all active notifications.
24 + *
25 + * @return array<mixed>
26 + */
27 + public function getAllActiveById(int $id): array;
28 +}