| Total Complexity | 2 |
| Total Lines | 26 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 16 | class Client |
||
| 17 | { |
||
| 18 | /** |
||
| 19 | * @var CommandBus |
||
| 20 | */ |
||
| 21 | protected $commandBus; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * Client constructor. |
||
| 25 | * |
||
| 26 | * @param CommandBus $commandBus |
||
| 27 | */ |
||
| 28 | 3 | public function __construct(CommandBus $commandBus) |
|
| 31 | } |
||
| 32 | |||
| 33 | /** |
||
| 34 | * Execute the request |
||
| 35 | * |
||
| 36 | * @param RequestInterface $request |
||
| 37 | * @return ResponseInterface |
||
| 38 | */ |
||
| 39 | 2 | public function execute(RequestInterface $request): ResponseInterface |
|
| 42 | } |
||
| 43 | } |