| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 24 | public function handle(): void |
||
| 25 | { |
||
| 26 | $rows = collect($this->channelManager->all()) |
||
| 27 | ->transform(function ($item, $name) { |
||
| 28 | return [$name, $this->channelManager->driver($item['driver'])->getName(), $this->channelManager->create($name)->getWebhookUrl()]; |
||
| 29 | }) |
||
| 30 | ->toArray(); |
||
| 31 | |||
| 32 | $this->table(['Name', 'Driver', 'Webhook URL'], $rows); |
||
| 33 | } |
||
| 35 |