Commit 73cebff
authored
Return the response after sending the message
Laravel's notification sender (`Illuminate\Notifications\NotificationSender`) dispatches an event (`Illuminate\Notifications\Events\NotificationSent`) after the message has been sent.
This event contains the response returned from the specific notification channel. When no response is returned, this event's response attribute contains `null`.
However, this information could be useful - for logging purposes, for pairing the notification messages with the users etc.1 parent dc1ae9b commit 73cebff
1 file changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
26 | 27 | | |
27 | 28 | | |
28 | 29 | | |
| |||
45 | 46 | | |
46 | 47 | | |
47 | 48 | | |
| 49 | + | |
| 50 | + | |
48 | 51 | | |
49 | 52 | | |
0 commit comments