src/PHPDish/Bundle/PostBundle/Service/PostManager.php
public function blockPost(PostInterface $post)
    {
        $post->disable();
        $this->entityManager->persist($post);
        $this->entityManager->flush();
    }
public function blockPost(PostInterface $post)
    {
        $post->disable();
        $this->entityManager->persist($post);
        $this->entityManager->flush();
    }
{@inheritdoc}