Conditions | 2 |
Paths | 2 |
Total Lines | 10 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
36 | public function send($notifiable, Notification $notification) |
||
37 | { |
||
38 | if (! $notifiable->routeNotificationFor('verification_mobile', $notification)) { |
||
39 | return; |
||
40 | } |
||
41 | |||
42 | /** @var MobileVerificationMessage $message */ |
||
43 | $message = $notification->toMobile($notifiable); |
||
|
|||
44 | |||
45 | return $this->SMSClient->sendMessage($message->getPayload()); |
||
46 | } |
||
48 |