public function subscribe($events) { $events->listen(TopicWasViewed::class, static::class . '@markViewed'); $events->listen(TopicWasReplied::class, static::class . '@notifyReply'); }