| Conditions | 1 |
| Paths | 1 |
| Total Lines | 20 |
| Code Lines | 1 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 2 | ||
| Bugs | 1 | Features | 0 |
| 1 | <?php |
||
| 12 | public function boot() |
||
| 13 | { |
||
| 14 | // Bootstrap code here. |
||
| 15 | |||
| 16 | /* |
||
| 17 | * Here's some example code we use for the pusher package. |
||
| 18 | |||
| 19 | $this->app->when(Channel::class) |
||
| 20 | ->needs(Pusher::class) |
||
| 21 | ->give(function () { |
||
| 22 | $pusherConfig = config('broadcasting.connections.pusher'); |
||
| 23 | |||
| 24 | return new Pusher( |
||
| 25 | $pusherConfig['key'], |
||
| 26 | $pusherConfig['secret'], |
||
| 27 | $pusherConfig['app_id'] |
||
| 28 | ); |
||
| 29 | }); |
||
| 30 | */ |
||
| 31 | } |
||
| 32 | |||
| 40 |