Conditions | 1 |
Paths | 1 |
Total Lines | 17 |
Code Lines | 11 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
10 | public function boot() |
||
11 | { |
||
12 | |||
13 | $class = ApnCredentials::class; |
||
14 | |||
15 | $this->app->when($class) |
||
16 | ->needs('$environment') |
||
17 | ->give(config('broadcasting.connections.apn.environment')); |
||
18 | |||
19 | $this->app->when($class) |
||
20 | ->needs('$certificate') |
||
21 | ->give(config('broadcasting.connections.apn.certificate')); |
||
22 | |||
23 | $this->app->when($class) |
||
24 | ->needs('$passPhrase') |
||
25 | ->give(config('broadcasting.connections.apn.pass_phrase')); |
||
26 | } |
||
27 | |||
29 |