| Total Complexity | 2 |
| Total Lines | 25 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 20 | final class CommandBus implements CommandBusInterface |
||
| 21 | { |
||
| 22 | /** |
||
| 23 | * Wrapped command bus. |
||
| 24 | * |
||
| 25 | * @var TacticianCommandBus |
||
| 26 | */ |
||
| 27 | private $wrappedCommandBus; |
||
| 28 | |||
| 29 | /** |
||
| 30 | * CommandBus constructor. |
||
| 31 | * |
||
| 32 | * @param TacticianCommandBus $wrappedCommandBus |
||
| 33 | */ |
||
| 34 | public function __construct(TacticianCommandBus $wrappedCommandBus) |
||
| 35 | { |
||
| 36 | $this->wrappedCommandBus = $wrappedCommandBus; |
||
| 37 | } |
||
| 38 | |||
| 39 | /** |
||
| 40 | * {@inheritdoc} |
||
| 41 | */ |
||
| 42 | public function handle(Command $command): void |
||
| 45 | } |
||
| 46 | } |
||
| 47 |