item = $item; parent::__construct($inventory); } public function getItem() : ItemEntity{ return $this->item; } }