public function __construct(Inventory $inventory, Item $item) { $this->item = $item; parent::__construct($inventory); }