| 1 | <?php |
||
| 7 | class SmsChannel |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * Send the given notification. |
||
| 11 | * |
||
| 12 | * @param $notifiable |
||
| 13 | * @param Notification $notification |
||
| 14 | * @return mixed |
||
| 15 | * @throws \Exception |
||
| 16 | */ |
||
| 17 | public function send($notifiable, Notification $notification) |
||
| 36 | |||
| 37 | /** |
||
| 38 | * Validate message. |
||
| 39 | * |
||
| 40 | * @param $message |
||
| 41 | * @throws \Exception |
||
| 42 | */ |
||
| 43 | private function validate($message) |
||
| 53 | } |
||
| 54 |