In this lesson, we will create an event for when a reply was created and a listener that listens for that event
Starter Template:
GitHub Link: https://github.com/AngelJayMedia/forum
Timestamps:
0:00 Introduction and setup
0:24 Create ReplyWasCreated event
1:38 Setup ReplyWasCreated class
2:25 Create sendNewReplyNotification listener
3:37 Setup sendNewReplyNotification class
6:36 Map in the listener in our EventServiceProvider
#laravel