| Total Complexity | 3 |
| Total Lines | 37 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 9 | class VerificationChannel |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * SMSClient (i.e. Nexmo). |
||
| 13 | * |
||
| 14 | * @var SMSClient |
||
| 15 | */ |
||
| 16 | protected $SMSClient; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * VerificationChannel constructor. |
||
| 20 | * |
||
| 21 | * @param SMSClient $SMSClient |
||
| 22 | */ |
||
| 23 | public function __construct(SMSClient $SMSClient) |
||
| 26 | } |
||
| 27 | |||
| 28 | /** |
||
| 29 | * Send the given notification. |
||
| 30 | * |
||
| 31 | * @param $notifiable |
||
| 32 | * @param Notification $notification |
||
| 33 | * |
||
| 34 | * @return mixed|void |
||
| 35 | */ |
||
| 36 | public function send($notifiable, Notification $notification) |
||
| 48 |