summaryrefslogtreecommitdiffstats
path: root/lib/public/Comments/ICommentsManager.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/public/Comments/ICommentsManager.php')
-rw-r--r--lib/public/Comments/ICommentsManager.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/public/Comments/ICommentsManager.php b/lib/public/Comments/ICommentsManager.php
index f2edaaa5eaf..98169fb335f 100644
--- a/lib/public/Comments/ICommentsManager.php
+++ b/lib/public/Comments/ICommentsManager.php
@@ -237,4 +237,13 @@ interface ICommentsManager {
*/
public function deleteReadMarksOnObject($objectType, $objectId);
+ /**
+ * registers an Entity to the manager, so event notifications can be send
+ * to consumers of the comments infrastructure
+ *
+ * @param \Closure $closure
+ * @since 9.2.0
+ */
+ public function registerEventHandler(\Closure $closure);
+
}