| Total Complexity | 4 |
| Total Lines | 35 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 7 | class NetGsmChannel |
||
| 8 | { |
||
| 9 | /** @var \NotificationChannels\NetGsm\NetGsmClient */ |
||
| 10 | protected $client; |
||
| 11 | |||
| 12 | /** |
||
| 13 | * NetGsmChannel constructor. |
||
| 14 | * @param NetGsmClient $client |
||
| 15 | */ |
||
| 16 | public function __construct(NetGsmClient $client) |
||
| 19 | } |
||
| 20 | |||
| 21 | /** |
||
| 22 | * Send the given notification. |
||
| 23 | * |
||
| 24 | * @param mixed $notifiable |
||
| 25 | * @param \Illuminate\Notifications\Notification $notification |
||
| 26 | * |
||
| 27 | * @throws \NotificationChannels\NetGsm\Exceptions\CouldNotSendNotification |
||
| 28 | */ |
||
| 29 | public function send($notifiable, Notification $notification) |
||
| 44 |