src/PHPDish/Bundle/CoreBundle/EventListener/TopicListener.php
protected function handleUserTopicCount(UserInterface $user)
    {
        $count = $this->topicManager->getUserTopicCount($user);
        $user->setTopicCount($count);
        $this->userManager->saveUser($user);
    }
protected function handleUserTopicCount(UserInterface $user)
    {
        $count = $this->topicManager->getUserTopicCount($user);
        $user->setTopicCount($count);
        $this->userManager->saveUser($user);
    }
处理用户的话题数量
@param UserInterface $user