Total Complexity | 3 |
Total Lines | 36 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
8 | class PusherApiChannel |
||
9 | { |
||
10 | /** @var \Pusher|\Pusher\Pusher $pusher */ |
||
11 | protected $pusher; |
||
12 | |||
13 | public function __construct(\Pusher $pusher) |
||
14 | { |
||
15 | $this->pusher = $pusher; |
||
16 | } |
||
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 | public function send($notifiable, Notification $notification) |
||
44 | } |
||
45 | } |
||
47 |