| Total Complexity | 4 |
| Total Lines | 27 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 17 | class LaravelClientResponse extends Source |
||
| 18 | { |
||
| 19 | /** |
||
| 20 | * Determine whether this class can handle the source. |
||
| 21 | */ |
||
| 22 | 6 | public function matches(): bool |
|
| 23 | { |
||
| 24 | 6 | return $this->source instanceof Response; |
|
| 25 | } |
||
| 26 | |||
| 27 | /** |
||
| 28 | * Retrieve the HTTP request. |
||
| 29 | */ |
||
| 30 | 2 | public function request(): RequestInterface |
|
| 34 | } |
||
| 35 | |||
| 36 | /** |
||
| 37 | * Retrieve the HTTP response. |
||
| 38 | * |
||
| 39 | * @return ResponseInterface |
||
| 40 | */ |
||
| 41 | 1 | public function response(): ResponseInterface |
|
| 46 |