public function getModel() { $itemModel = (new $this->itemModel())->with($this->itemModelRelations)->find($this->id); if (empty($itemModel)) { throw new ModelNotFound('Could not find the item model for ' . $this->id); } return $itemModel; }