Total Complexity | 2 |
Total Lines | 43 |
Duplicated Lines | 0 % |
Coverage | 91.67% |
Changes | 4 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
10 | class FacebookPosterChannel |
||
11 | { |
||
12 | /** |
||
13 | * The Guzzle client. |
||
14 | */ |
||
15 | protected Client $guzzle; |
||
16 | |||
17 | /** |
||
18 | * The application config. |
||
19 | */ |
||
20 | protected Repository $config; |
||
21 | |||
22 | 4 | /** |
|
23 | * Create a new channel instance. |
||
24 | 4 | */ |
|
25 | 4 | public function __construct(Client $guzzle, Repository $config) |
|
29 | } |
||
30 | |||
31 | /** |
||
32 | * Send the given notification. |
||
33 | 4 | * |
|
34 | * @param mixed $notifiable |
||
35 | 4 | * @param \Illuminate\Notifications\Notification $notification |
|
36 | */ |
||
37 | public function send($notifiable, Notification $notification) |
||
56 |