| Total Complexity | 3 | 
| Total Lines | 37 | 
| Duplicated Lines | 0 % | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php  | 
            ||
| 22 | final class QueryBus implements QueryBusInterface  | 
            ||
| 23 | { | 
            ||
| 24 | /**  | 
            ||
| 25 | * Wrapped command bus.  | 
            ||
| 26 | *  | 
            ||
| 27 | * @var TacticianCommandBus  | 
            ||
| 28 | */  | 
            ||
| 29 | private $wrappedCommandBus;  | 
            ||
| 30 | |||
| 31 | /**  | 
            ||
| 32 | * QueryBus constructor.  | 
            ||
| 33 | *  | 
            ||
| 34 | * @param TacticianCommandBus $wrappedCommandBus  | 
            ||
| 35 | */  | 
            ||
| 36 | public function __construct(TacticianCommandBus $wrappedCommandBus)  | 
            ||
| 37 |     { | 
            ||
| 38 | $this->wrappedCommandBus = $wrappedCommandBus;  | 
            ||
| 39 | }  | 
            ||
| 40 | |||
| 41 | /**  | 
            ||
| 42 |      * {@inheritdoc} | 
            ||
| 43 | *  | 
            ||
| 44 | * @throws QueryReturnException  | 
            ||
| 45 | */  | 
            ||
| 46 | public function handle(Query $query): DTO  | 
            ||
| 59 | }  | 
            ||
| 60 | }  | 
            ||
| 61 |