1 | <?php |
||
8 | class Notification extends IlluminateNotification |
||
9 | { |
||
10 | use Queueable; |
||
11 | |||
12 | /** |
||
13 | * @var |
||
14 | */ |
||
15 | private $item; |
||
16 | |||
17 | /** |
||
18 | * @var |
||
19 | */ |
||
20 | private $channel; |
||
21 | |||
22 | /** |
||
23 | * Create a new notification instance. |
||
24 | * |
||
25 | * @param $item |
||
26 | */ |
||
27 | 2 | public function __construct($item, $channel) |
|
33 | |||
34 | /** |
||
35 | * @param $name |
||
36 | * |
||
37 | * @return \Illuminate\Foundation\Application|mixed |
||
38 | */ |
||
39 | 2 | private function getSenderInstance($name) |
|
45 | |||
46 | /** |
||
47 | * Get the notification's delivery channels. |
||
48 | * |
||
49 | * @return array |
||
50 | */ |
||
51 | 2 | public function via() |
|
55 | |||
56 | /** |
||
57 | * @param $name |
||
58 | * @param $parameters |
||
59 | * |
||
60 | * @return mixed |
||
61 | */ |
||
62 | 2 | public function __call($name, $parameters) |
|
74 | } |
||
75 |