Total Complexity | 2 |
Total Lines | 23 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
18 | class ItemTooLargeException extends RuntimeException |
||
19 | { |
||
20 | /** @var Item */ |
||
21 | public $item; |
||
22 | |||
23 | /** |
||
24 | * ItemTooLargeException constructor. |
||
25 | * |
||
26 | * @param string $message |
||
27 | * @param Item $item |
||
28 | */ |
||
29 | 3 | public function __construct(string $message, Item $item) |
|
33 | 3 | } |
|
34 | |||
35 | /** |
||
36 | * @return Item |
||
37 | */ |
||
38 | 3 | public function getItem(): Item |
|
43 |