| Conditions | 1 |
| Paths | 1 |
| Total Lines | 13 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 2 |
| Changes | 0 | ||
| 1 | <?php |
||
| 28 | public function boot(): void |
||
| 29 | { |
||
| 30 | /** @var ChannelManager $manager */ |
||
| 31 | $manager = $this->app[Manager::class]; |
||
| 32 | |||
| 33 | $manager->register( |
||
| 34 | collect($this->channels()) |
||
| 35 | ->mapWithKeys(function (array $parameters, string $name) { |
||
| 36 | return [$name => $parameters]; |
||
| 37 | }) |
||
| 38 | ->toArray() |
||
| 39 | ); |
||
| 40 | } |
||
| 41 | |||
| 61 |