Skip to content

Commit 0a4db32

Browse files
committed
Format notification_channels.md
1 parent b8dfa4d commit 0a4db32

1 file changed

Lines changed: 11 additions & 11 deletions

File tree

docs/api/notification_channels.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -112,15 +112,15 @@ and can optionally implement interfaces required by specific channels.
112112
These interfaces come with a method to specifically format the notification for the channel.
113113
- Some channels accept every notification and have a default formatting if the notification doesn't implement their specific notification interface.
114114

115-
| Channel | Specific notification interface | Accepts any notification object|
116-
|:----------|:------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------|
117-
| `actito` | `Symfony\Component\Notifier\Notification\EmailNotificationInterface` | **No** |
118-
| `chat` | `Symfony\Component\Notifier\Notification\ChatNotificationInterface` | Yes |
119-
| `desktop` | `Symfony\Component\Notifier\Notification\DesktopNotificationInterface` | Yes |
120-
| `email` | `Symfony\Component\Notifier\Notification\EmailNotificationInterface` | **No** |
121-
| `ibexa` | <nobr>[`Ibexa\Contracts\Notifications\SystemNotification\SystemNotificationInterface`](/api/php_api/php_api_reference/classes/Ibexa-Contracts-Notifications-SystemNotification-SystemNotificationInterface.html)</nobr> | **No** |
122-
| `push` | `Symfony\Component\Notifier\Notification\PushNotificationInterface` | Yes |
123-
| `sms` | `Symfony\Component\Notifier\Notification\SmsNotificationInterface` | **No** |
115+
| Channel | Specific notification interface | Accepts any notification object |
116+
|:----------|:------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------|
117+
| `actito` | `Symfony\Component\Notifier\Notification\EmailNotificationInterface` | **No** |
118+
| `chat` | `Symfony\Component\Notifier\Notification\ChatNotificationInterface` | Yes |
119+
| `desktop` | `Symfony\Component\Notifier\Notification\DesktopNotificationInterface` | Yes |
120+
| `email` | `Symfony\Component\Notifier\Notification\EmailNotificationInterface` | **No** |
121+
| `ibexa` | <nobr>[`Ibexa\Contracts\Notifications\SystemNotification\SystemNotificationInterface`](/api/php_api/php_api_reference/classes/Ibexa-Contracts-Notifications-SystemNotification-SystemNotificationInterface.html)</nobr> | **No** |
122+
| `push` | `Symfony\Component\Notifier\Notification\PushNotificationInterface` | Yes |
123+
| `sms` | `Symfony\Component\Notifier\Notification\SmsNotificationInterface` | **No** |
124124

125125
The `ibexa` channel sends notifications to users through their profile menu, exactly as [user notifications](notifications.md#user-notifications).
126126
The [`SystemNotificationChannel` uses the core `NotificationService`](https://github.com/ibexa/notifications/blob/v5.0.7/src/lib/SystemNotification/SystemNotificationChannel.php#L51) to do so.
@@ -293,6 +293,6 @@ The log contains the notifications
293293

294294
```console
295295
% tail -Fn0 var/log/dev.log | grep --line-buffered CommandExecuted
296-
[2026-03-26T01:01:54.123431+01:00] app.INFO: app:send_notification {"class":"App\\Notifications\\CommandExecuted","importance":"low","content":""} []
297-
[2026-03-27T01:01:23.888014+01:00] app.INFO: app:send_notification {"class":"App\\Notifications\\CommandExecuted","importance":"high","content":""} []
296+
[2026-03-26T01:01:23.888014+01:00] app.INFO: app:send_notification {"class":"App\\Notifications\\CommandExecuted","importance":"high","content":""} []
297+
[2026-03-27T01:02:54.123431+01:00] app.INFO: app:send_notification {"class":"App\\Notifications\\CommandExecuted","importance":"low","content":""} []
298298
```

0 commit comments

Comments
 (0)