src/PHPDish/Bundle/ForumBundle/Controller/TopicController.php
public function todayHotTopicsAction($limit = null)
    {
        $date = Carbon::today()->modify('-100 days');
        $topics = $this->getTopicManager()->findHotTopics($date, $limit ?: 10);

        return $this->render($this->configuration->getTemplate('Topic:_today_hot.html.twig'), [
            'topics' => $topics,
        ]);
    }
public function todayHotTopicsAction($limit = null)
    {
        $date = Carbon::today()->modify('-100 days');
        $topics = $this->getTopicManager()->findHotTopics($date, $limit ?: 10);

        return $this->render($this->configuration->getTemplate('Topic:_today_hot.html.twig'), [
            'topics' => $topics,
        ]);
    }
今日热帖.
@param int|null $limit

@return Response