| Conditions | 4 |
| Paths | 3 |
| Total Lines | 13 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 41 | public function getTransports(): array |
||
| 42 | { |
||
| 43 | $transports = []; |
||
| 44 | foreach ($this->config['transports'] as $name => $transport) { |
||
| 45 | if (is_object($transport) && !$transport instanceof Autowire) { |
||
| 46 | $transports[$name] = $transport; |
||
| 47 | continue; |
||
| 48 | } |
||
| 49 | |||
| 50 | $transports[$name] = $this->wire($transport); |
||
| 51 | } |
||
| 52 | |||
| 53 | return $transports; |
||
| 54 | } |
||
| 79 |