Laravel通知:检查通知是否已发送
我正在使用Laravel 9。我使用通知性状发送通知,并且只有在通知是时,我希望采取一些行动。
我该如何执行!
谢谢,
Am Working on laravel 9. I send notification using the notifiable trait and I wish to make some action only if the notification is.
How can I perform this!
thanks,
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我认为您可以使用
Notification :: Fail()
检查I think You can check using
Notification::failure()