| Conditions | 2 | 
| Paths | 1 | 
| Total Lines | 7 | 
| Code Lines | 5 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Tests | 5 | 
| CRAP Score | 2 | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php | ||
| 22 | 9 | public function __invoke($source, string $path = ''): LazyCollection | |
| 23 |     { | ||
| 24 | 9 |         return new LazyCollection(function () use ($source, $path) { | |
| 25 |             try { | ||
| 26 | 9 | yield from new Source($source, $path); | |
| 27 | 2 |             } catch (Throwable $e) { | |
| 28 | 2 | throw new LazyJsonException($e->getMessage(), 0, $e); | |
| 29 | } | ||
| 33 |