src/PHPDish/Bundle/PostBundle/Service/CommentManager.php
public function createComment(PostInterface $post, UserInterface $user)
    {
        $comment = new $this->commentEntity;
        $comment->setPost($post)->setUser($user);
        $post->addCommentCount();
        return $comment;
    }
public function createComment(PostInterface $post, UserInterface $user)
    {
        $comment = new $this->commentEntity;
        $comment->setPost($post)->setUser($user);
        $post->addCommentCount();
        return $comment;
    }
{@inheritdoc}