public function reportComment(Blog $blog, Comment $existingComment)
    {
        $existingComment->setReported($existingComment->getReported() + 1);
        $this->om->flush();

        return $existingComment;
    }
public function reportComment(Blog $blog, Comment $existingComment)
    {
        $existingComment->setReported($existingComment->getReported() + 1);
        $this->om->flush();

        return $existingComment;
    }
public function reportComment ( Blog $ blog , Comment $ existingComment ) { $ existingComment -> setReported ( $ existingComment -> getReported ( ) + 1 ) ; $ this -> om -> flush ( ) ; return $ existingComment ; }
Report a comment.

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

@return Comment
Report a comment .