Update packages/notifications/docs/03-database-notifications.md

This commit is contained in:
Dan Harrin
2024-05-29 11:03:08 +01:00
committed by GitHub
parent f8cc8605cb
commit 10e2e13ef4
@@ -98,7 +98,7 @@ $recipient->notify(
);
```
> Database notifications dispatched with `sendToDatabase` and `toDatabase` are queued. Ensure your queue is running to receive notifications dispatched in these ways.
> Laravel sends database notifications using the queue. Ensure your queue is running in order to receive the notifications.
Alternatively, use a traditional [Laravel notification class](https://laravel.com/docs/notifications#generating-notifications) by returning the notification from the `toDatabase()` method: