public function updateForumActivityStats(ForumInterface $forum, TopicInterface $topic, PostInterface $post) { $forum->setLastIndexed(new \DateTime()); $forum->setLastTopic($topic); $topics = $this->topicManager->getTopicCountByForum($forum); $forum->setTopicCount($topics); $this->update($forum); }