public function storeReviewForBiz($bizID, $comment, $rating) { $biz = Biz::find($bizID); $this->user_id = \Auth::user()->id; $this->comment = $comment; $this->rating = $rating; $biz->reviews()->save($this); // recalculate ratings for the specified product $biz->recalculateRating(); }