aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/Notification/INotifier.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/public/Notification/INotifier.php')
-rw-r--r--lib/public/Notification/INotifier.php9
1 files changed, 6 insertions, 3 deletions
diff --git a/lib/public/Notification/INotifier.php b/lib/public/Notification/INotifier.php
index 39a962b0392..b6851e3dfb3 100644
--- a/lib/public/Notification/INotifier.php
+++ b/lib/public/Notification/INotifier.php
@@ -8,11 +8,14 @@ declare(strict_types=1);
*/
namespace OCP\Notification;
+use OCP\AppFramework\Attribute\Implementable;
+
/**
- * Interface INotifier
- *
- * @since 9.0.0
+ * Please consider implementing {@see IPreloadableNotifier} to improve performance. It allows to
+ * preload and cache data for many notifications at once instead of loading the data for each
+ * prepared notification separately.
*/
+#[Implementable(since: '9.0.0')]
interface INotifier {
/**
* Identifier of the notifier, only use [a-z0-9_]