Total Complexity | 4 |
Total Lines | 34 |
Duplicated Lines | 0 % |
Coverage | 30% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
9 | class CmsmsChannel |
||
10 | { |
||
11 | /** @var CmsmsClient */ |
||
12 | protected $client; |
||
13 | |||
14 | /** |
||
15 | * @param CmsmsClient $client |
||
16 | */ |
||
17 | 1 | public function __construct(CmsmsClient $client) |
|
18 | { |
||
19 | 1 | $this->client = $client; |
|
20 | 1 | } |
|
21 | |||
22 | /** |
||
23 | * Send the given notification. |
||
24 | * |
||
25 | * @param mixed $notifiable |
||
26 | * @param \Illuminate\Notifications\Notification $notification |
||
27 | * |
||
28 | * @throws \NotificationChannels\Cmsms\Exceptions\CouldNotSendNotification |
||
29 | */ |
||
30 | public function send($notifiable, Notification $notification) |
||
43 | } |
||
44 | } |
||
45 |