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)
444
444
445
445
return $ this ;
446
446
}
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
+ }
447
459
}
Original file line number Diff line number Diff line change 20
20
"laravel-doctrine/orm" : " 1.4.*" ,
21
21
"laravel/framework" : " 5.8.*" ,
22
22
"laravel/horizon" : " ^3.1" ,
23
+ "laravel/nexmo-notification-channel" : " ^2.0" ,
23
24
"laravel/passport" : " ^7.0" ,
24
25
"laravel/slack-notification-channel" : " ^2.0" ,
25
26
"laravel/tinker" : " ^1.0" ,
You can’t perform that action at this time.
0 commit comments