| Total Complexity | 3 |
| Total Lines | 37 |
| Duplicated Lines | 0 % |
| Changes | 3 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 22 | trait ApiMediator |
||
| 23 | { |
||
| 24 | /** |
||
| 25 | * @param DtoInterface $generalRequest |
||
| 26 | * @param array $serviceRequest |
||
| 27 | * @param $method |
||
| 28 | * @return DecoratorInterface |
||
| 29 | */ |
||
| 30 | protected function launch(DtoInterface $generalRequest, array $serviceRequest, $method) |
||
| 38 | } |
||
| 39 | |||
| 40 | /** |
||
| 41 | * @param $method |
||
| 42 | * @return mixed |
||
| 43 | */ |
||
| 44 | private function instantiateRequester($method) |
||
| 48 | } |
||
| 49 | |||
| 50 | /** |
||
| 51 | * @param $method |
||
| 52 | * @return ApiResponderInterface |
||
| 53 | */ |
||
| 54 | private function instantiateResponder($method) |
||
| 61 |