| Total Complexity | 2 |
| Total Lines | 25 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 21 | final class CommandBus implements CommandBusInterface |
||
| 22 | { |
||
| 23 | /** |
||
| 24 | * Wrapped message bus. |
||
| 25 | * |
||
| 26 | * @var MessageBusInterface |
||
| 27 | */ |
||
| 28 | private $wrappedMessageBus; |
||
| 29 | |||
| 30 | /** |
||
| 31 | * CommandBus constructor. |
||
| 32 | * |
||
| 33 | * @param MessageBusInterface $wrappedMessageBus |
||
| 34 | */ |
||
| 35 | public function __construct(MessageBusInterface $wrappedMessageBus) |
||
| 38 | } |
||
| 39 | |||
| 40 | /** |
||
| 41 | * {@inheritdoc} |
||
| 42 | */ |
||
| 43 | public function handle(Command $command): void |
||
| 48 |