Total Complexity | 1 |
Total Lines | 14 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
11 | class Macro |
||
12 | { |
||
13 | /** |
||
14 | * Load paginated items of the given JSON source in a lazy collection |
||
15 | * |
||
16 | * @param \Psr\Http\Message\RequestInterface|\Illuminate\Http\Client\Response $source |
||
17 | * @param string $path |
||
18 | * @param callable|array|string|int $config |
||
19 | * @return LazyCollection |
||
20 | */ |
||
21 | 14 | public function __invoke($source, string $path, $config): LazyCollection |
|
28 |