| Conditions | 1 |
| Paths | 1 |
| Total Lines | 13 |
| Code Lines | 8 |
| 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 [ |
||
| 29 | $name, |
||
| 30 | $this->channelManager->driver($item['driver'])->getName(), |
||
| 31 | $this->channelManager->create($name)->getWebhookUrl(), |
||
| 32 | ]; |
||
| 33 | }) |
||
| 34 | ->toArray(); |
||
| 35 | |||
| 36 | $this->table(['Name', 'Driver', 'Webhook URL'], $rows); |
||
| 37 | } |
||
| 39 |