1 | <?php |
||
8 | class SmscRuChannel |
||
9 | { |
||
10 | /** @var \NotificationChannels\SmscRu\SmscRuApi */ |
||
11 | protected $smsc; |
||
12 | |||
13 | 2 | public function __construct(SmscRuApi $smsc) |
|
17 | |||
18 | /** |
||
19 | * Send the given notification. |
||
20 | * |
||
21 | * @param mixed $notifiable |
||
22 | * @param \Illuminate\Notifications\Notification $notification |
||
23 | * |
||
24 | * @throws \NotificationChannels\SmscRu\Exceptions\CouldNotSendNotification |
||
25 | */ |
||
26 | 2 | public function send($notifiable, Notification $notification) |
|
42 | |||
43 | 1 | protected function sendMessage($recipient, SmscRuMessage $message) |
|
57 | } |
||
58 |