File tree Expand file tree Collapse file tree 4 files changed +320
-33
lines changed
Expand file tree Collapse file tree 4 files changed +320
-33
lines changed Original file line number Diff line number Diff line change @@ -444,4 +444,16 @@ public function setGoogle2faSecret($google2faSecret)
444444
445445 return $ this ;
446446 }
447+
448+ /**
449+ * Route notifications for the Nexmo channel.
450+ *
451+ * @param \Illuminate\Notifications\Notification $notification
452+ *
453+ * @return string
454+ */
455+ public function routeNotificationForNexmo ($ notification )
456+ {
457+ return $ this ->profile ->getContactNumber ();
458+ }
447459}
Original file line number Diff line number Diff line change 2020 "laravel-doctrine/orm" : " 1.4.*" ,
2121 "laravel/framework" : " 5.8.*" ,
2222 "laravel/horizon" : " ^3.1" ,
23+ "laravel/nexmo-notification-channel" : " ^2.0" ,
2324 "laravel/passport" : " ^7.0" ,
2425 "laravel/slack-notification-channel" : " ^2.0" ,
2526 "laravel/tinker" : " ^1.0" ,
You can’t perform that action at this time.
0 commit comments