| 1 | <?php |
||
| 17 | class ItemTooLargeException extends \RuntimeException |
||
| 18 | { |
||
| 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 | |||
| 34 | /** |
||
| 35 | * @return Item |
||
| 36 | */ |
||
| 37 | 1 | public function getItem(): Item { |
|
| 40 | |||
| 41 | } |
||
| 42 |