| Total Complexity | 2 |
| Total Lines | 23 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 12 | class LaravelClientResponse extends Psr7Message |
||
| 13 | { |
||
| 14 | /** |
||
| 15 | * Determine whether the handler can handle the given source |
||
| 16 | * |
||
| 17 | * @param mixed $source |
||
| 18 | * @return bool |
||
| 19 | */ |
||
| 20 | 5 | public function handles($source): bool |
|
| 23 | } |
||
| 24 | |||
| 25 | /** |
||
| 26 | * Handle the given source |
||
| 27 | * |
||
| 28 | * @param mixed $source |
||
| 29 | * @param string $path |
||
| 30 | * @return Traversable |
||
| 31 | */ |
||
| 32 | 1 | public function handle($source, string $path): Traversable |
|
| 37 |