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