| Total Complexity | 3 |
| Total Lines | 34 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 8 | abstract class AbstractResponse |
||
| 9 | { |
||
| 10 | protected Response $response; |
||
| 11 | |||
| 12 | /** |
||
| 13 | * LoqateResponse constructor. |
||
| 14 | * |
||
| 15 | * @param Response $response |
||
| 16 | */ |
||
| 17 | 2 | public function __construct(Response $response) |
|
| 20 | } |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @return Response |
||
| 24 | */ |
||
| 25 | 1 | public function getRawResponse(): Response |
|
| 26 | { |
||
| 27 | 1 | return $this->response; |
|
| 28 | } |
||
| 29 | |||
| 30 | |||
| 31 | /** |
||
| 32 | * Dynamically proxy other methods to the underlying response. |
||
| 33 | * |
||
| 34 | * @param string $method |
||
| 35 | * @param array $parameters |
||
| 36 | * |
||
| 37 | * @return mixed |
||
| 38 | */ |
||
| 39 | 2 | public function __call($method, $parameters) |
|
| 42 | } |
||
| 43 | } |
||
| 44 |