Total Complexity | 1 |
Total Lines | 36 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
13 | class OutOfAttemptsException extends LazyJsonPagesException |
||
14 | { |
||
15 | /** |
||
16 | * The original exception. |
||
17 | * |
||
18 | * @var Throwable |
||
19 | */ |
||
20 | public $original; |
||
21 | |||
22 | /** |
||
23 | * The pages that caused the failure. |
||
24 | * |
||
25 | * @var array |
||
26 | */ |
||
27 | public $failedPages; |
||
28 | |||
29 | /** |
||
30 | * The paginated items loaded before the failure. |
||
31 | * |
||
32 | * @var LazyCollection |
||
33 | */ |
||
34 | public $items; |
||
35 | |||
36 | /** |
||
37 | * Instantiate the class. |
||
38 | * |
||
39 | * @param Throwable $original |
||
40 | * @param Outcome $outcome |
||
41 | */ |
||
42 | 2 | public function __construct(Throwable $original, Outcome $outcome) |
|
52 |