diff options
Diffstat (limited to 'lib/private/notification/imanager.php')
-rw-r--r-- | lib/private/notification/imanager.php | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/lib/private/notification/imanager.php b/lib/private/notification/imanager.php index 0e9504a1f6e..2f8e3ba39fc 100644 --- a/lib/private/notification/imanager.php +++ b/lib/private/notification/imanager.php @@ -43,10 +43,18 @@ interface IManager extends IApp, INotifier { /** * @param \Closure $service The service must implement INotifier, otherwise a * \InvalidArgumentException is thrown later + * @param \Closure $info An array with the keys 'id' and 'name' containing + * the app id and the app name * @return null - * @since 8.2.0 + * @since 8.2.0 - Parameter $info was added in 9.0.0 + */ + public function registerNotifier(\Closure $service, \Closure $info); + + /** + * @return array App ID => App Name + * @since 9.0.0 */ - public function registerNotifier(\Closure $service); + public function listNotifiers(); /** * @return INotification |