App\Listeners\Forum\NotifyEmail::subscribe PHP Méthode

subscribe() public méthode

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