| 1 | <?php |
||
| 16 | class ItemTooLargeException extends \RuntimeException |
||
| 17 | { |
||
| 18 | |||
| 19 | /** @var Item */ |
||
| 20 | public $item; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * ItemTooLargeException constructor. |
||
| 24 | * |
||
| 25 | * @param string $message |
||
| 26 | * @param Item $item |
||
| 27 | */ |
||
| 28 | 2 | public function __construct($message, Item $item) { |
|
| 32 | |||
| 33 | /** |
||
| 34 | * @return Item |
||
| 35 | */ |
||
| 36 | public function getItem() { |
||
| 39 | |||
| 40 | } |
||
| 41 |