src/PHPDish/Bundle/CoreBundle/EventListener/Notification/TopicSubscriber.php
public function onTopicReplied(ReplyTopicEvent $event)
    {
        if ($event->getTopic()->getUser() === $event->getReply()->getUser()) {
            return;
        }
        $notification = $this->notificationHelper->createReplyTopicNotification($event->getTopic(), $event->getReply());

        $this->notificationHelper->sendNotification($event->getTopic()->getUser(), $notification);
    }
public function onTopicReplied(ReplyTopicEvent $event)
    {
        if ($event->getTopic()->getUser() === $event->getReply()->getUser()) {
            return;
        }
        $notification = $this->notificationHelper->createReplyTopicNotification($event->getTopic(), $event->getReply());

        $this->notificationHelper->sendNotification($event->getTopic()->getUser(), $notification);
    }
话题被回复时触发.

@param ReplyTopicEvent $event