| Conditions | 1 |
| Paths | 1 |
| Total Lines | 7 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 42 | public function __construct(Throwable $original, Outcome $outcome) |
||
| 43 | { |
||
| 44 | $this->message = $original->getMessage(); |
||
| 45 | $this->original = $original; |
||
| 46 | $this->failedPages = $outcome->pullFailedPages(); |
||
| 47 | $this->items = new LazyCollection(function () use ($outcome) { |
||
| 48 | yield from $outcome->pullItems(); |
||
| 49 | }); |
||
| 52 |