src/PHPDish/Bundle/PostBundle/Service/PostManager.php
public function increasePostViews(PostInterface $post, $views = 1)
    {
        $post->addViewCount($views);
        $this->entityManager->persist($post);
        $this->entityManager->flush();
    }
public function increasePostViews(PostInterface $post, $views = 1)
    {
        $post->addViewCount($views);
        $this->entityManager->persist($post);
        $this->entityManager->flush();
    }
{@inheritdoc}