Total Complexity | 5 |
Total Lines | 35 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
10 | class FortySixElksChannel |
||
11 | { |
||
12 | protected $events; |
||
13 | |||
14 | /** |
||
15 | * FortySixElksChannel constructor. |
||
16 | */ |
||
17 | public function __construct(Dispatcher $events) |
||
18 | { |
||
19 | $this->events = $events; |
||
20 | } |
||
21 | |||
22 | /** |
||
23 | * Send the given notification. |
||
24 | * |
||
25 | * @param mixed $notifiable |
||
26 | * @param \Illuminate\Notifications\Notification $notification |
||
27 | * |
||
28 | * @throws \NotificationChannels\FortySixElks\Exceptions\CouldNotSendNotification |
||
29 | */ |
||
30 | public function send($notifiable, Notification $notification) |
||
45 | } |
||
46 | } |
||
47 |