src/PHPDish/Bundle/ForumBundle/Service/TopicManager.php
public function createTopic(UserInterface $user)
    {
        $topic = new $this->topicEntity;
        $now = Carbon::now();
        $topic->setUser($user)
            ->setLastCommentAt($now)
            ->setCreatedAt($now)
            ->setLastCommentUser($user);

        return $topic;
    }
public function createTopic(UserInterface $user)
    {
        $topic = new $this->topicEntity;
        $now = Carbon::now();
        $topic->setUser($user)
            ->setLastCommentAt($now)
            ->setCreatedAt($now)
            ->setLastCommentUser($user);

        return $topic;
    }
{@inheritdoc}