| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 2 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 9 | public function boot() |
||
| 10 | { |
||
| 11 | $this->app->bind(ApnCredentials::class, function ($app) { |
||
| 12 | $config = $app['config']; |
||
| 13 | |||
| 14 | return new ApnCredentials( |
||
| 15 | $config->get('broadcasting.connections.apn.environment'), |
||
| 16 | $config->get('broadcasting.connections.apn.certificate'), |
||
| 17 | $config->get('broadcasting.connections.apn.pass_phrase') |
||
| 18 | ); |
||
| 19 | }); |
||
| 20 | } |
||
| 21 | } |
||
| 22 |