| Total Complexity | 2 |
| Total Lines | 17 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 18 | class NoBoxesAvailableException extends RuntimeException |
||
| 19 | { |
||
| 20 | /** @var Item */ |
||
| 21 | public $item; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * NoBoxesAvailableException constructor. |
||
| 25 | */ |
||
| 26 | public function __construct(string $message, Item $item) |
||
| 27 | { |
||
| 28 | $this->item = $item; |
||
| 29 | parent::__construct($message); |
||
| 30 | } |
||
| 31 | |||
| 32 | public function getItem(): Item |
||
| 35 | } |
||
| 36 | } |
||
| 37 |