grade = $this->grade; $comment->body = $this->body; $comment->recipe_id = $this->recipe->id; $comment->user_id = $this->user->id; $comment->save(); $this->reset(['body', 'grade']); $this->emitTo('recipe.comment.show', 'commentAdded'); } }