|
|
1
1
https://github.com/illuminate/notifications/blob/master/RoutesNotifications.php 如您所见,notify方法返回void。我认为这就是为什么没有触发“链”方法的原因 您可以在EventServiceProvider中注册此事件的侦听器,如laravels文档所示: https://laravel.com/docs/8.x/notifications#notification-events 下面是一个例子: Laravel Notifications Listener Is Useless When Implementing the Queue |
|
|
nup · 如何在Nuxt+Laravel网站上使用图像? 2 年前 |
|
|
Leanne Bishop · 从相关模型Laravel中查找ID 3 年前 |
|
|
mikmok25 · 如何在Laravel中激活和非激活布尔值 4 年前 |
|
|
Rod-Miller · 生成一个大的下拉列表 4 年前 |