public function updateComment($id, $body) { $comment = $this->getCommentById($id); $comment->body = $body; $comment->save(); return $comment; }