Total Complexity | 3 |
Total Lines | 36 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
8 | class PusherApiChannel |
||
9 | { |
||
10 | /** @var \Pusher|\Pusher\Pusher */ |
||
11 | protected $pusher; |
||
12 | |||
13 | 2 | public function __construct(\Pusher $pusher) |
|
14 | { |
||
15 | 2 | $this->pusher = $pusher; |
|
16 | 2 | } |
|
17 | |||
18 | /** |
||
19 | * Send the given notification. |
||
20 | * |
||
21 | * @param mixed $notifiable |
||
22 | * @param \Illuminate\Notifications\Notification $notification |
||
23 | * |
||
24 | * @throws \Andreshg112\PusherApiNotifications\Exceptions\CouldNotSendNotification |
||
25 | */ |
||
26 | 2 | public function send($notifiable, Notification $notification) |
|
44 | } |
||
45 | 1 | } |
|
47 |