public function reportCommentAction(Request $request, Blog $blog, Comment $comment, User $user)
    {
        $comment = $this->commentManager->reportComment($blog, $comment);

        return new JsonResponse($this->commentSerializer->serialize($comment));
    }
public function reportCommentAction(Request $request, Blog $blog, Comment $comment, User $user)
    {
        $comment = $this->commentManager->reportComment($blog, $comment);

        return new JsonResponse($this->commentSerializer->serialize($comment));
    }
public function reportCommentAction ( Request $ request , Blog $ blog , Comment $ comment , User $ user ) { $ comment = $ this -> commentManager -> reportComment ( $ blog , $ comment ) ; return new JsonResponse ( $ this -> commentSerializer -> serialize ( $ comment ) ) ; }
Report post comment.

@EXT\Route("/{commentId}/report", name="apiv2_blog_comment_report")
@EXT\Method("PUT")
@EXT\ParamConverter("comment", class="IcapBlogBundle:Comment", options={"mapping": {"commentId": "uuid"}})
@EXT\ParamConverter("user", converter="current_user", options={"allowAnonymous"=false})

@param Blog    $blog
@param Comment $comment
@param User    $user

@return array
Report post comment .