Total Complexity | 2 |
Total Lines | 22 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
12 | class LaravelClientResponse extends AbstractHandler |
||
13 | { |
||
14 | /** |
||
15 | * Determine whether the handler should handle the source |
||
16 | * |
||
17 | * @return bool |
||
18 | */ |
||
19 | protected function shouldHandleSource(): bool |
||
20 | { |
||
21 | return $this->source instanceof Response; |
||
22 | } |
||
23 | |||
24 | /** |
||
25 | * Handle the source |
||
26 | * |
||
27 | * @return Traversable|null |
||
28 | */ |
||
29 | protected function handleSource(): ?Traversable |
||
34 | } |
||
35 | } |
||
36 |