src/PHPDish/Bundle/PostBundle/Service/PostManager.php
public function createPost(UserInterface $user)
    {
        $post = new $this->postEntity;
        $post->setUser($user);

        return $post;
    }
public function createPost(UserInterface $user)
    {
        $post = new $this->postEntity;
        $post->setUser($user);

        return $post;
    }
{@inheritdoc}