| Conditions | 2 |
| Paths | 2 |
| Total Lines | 6 |
| Code Lines | 2 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 3 |
| CRAP Score | 2 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 24 | 2 | public function __invoke(ContainerInterface $container): MessageBusInterface |
|
| 25 | { |
||
| 26 | /** @var null|MessageBusInterface $fallbackBus */ |
||
| 27 | 2 | $fallbackBus = $container->has($this->fallbackBusName) ? $container->get($this->fallbackBusName) : null; |
|
| 28 | |||
| 29 | 2 | return new RoutableMessageBus($container, $fallbackBus); |
|
| 30 | } |
||
| 50 |