From b6fe0087e06a2161f8caae6a862929530a77629a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFck=20Piera?= Date: Tue, 10 Dec 2024 14:14:08 +0100 Subject: [PATCH] Clarification about desktop notification --- doc/going-further/helpers/notify.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/going-further/helpers/notify.md b/doc/going-further/helpers/notify.md index 7c91d666..4134b16f 100644 --- a/doc/going-further/helpers/notify.md +++ b/doc/going-further/helpers/notify.md @@ -1,7 +1,7 @@ -# Notification +# Desktop notification Castor uses the [JoliNotif](https://github.com/jolicode/jolinotif) library to -display notifications. +display desktop notifications. ## The `notify()` function @@ -22,7 +22,7 @@ function notify() ## Notify with `run()` You can use the `withNotify` method of the `Context` object to display a -notification when a command has been executed: +desktop notification when a command has been executed: ```php use Castor\Attribute\AsTask; @@ -93,7 +93,7 @@ function notify() Finally, you can set the `notify` property in the context to `true` to enable notifications globally: -In that case, any call to the `notify()` function will display a notification. (user or Castor generated notifications) +In that case, any call to the `notify()` function will display a desktop notification (user or Castor generated notifications). ```php use Castor\Attribute\AsTask;