I am using Laravel Notifications to broadcasts updates to the user. I am wondering if there is a way to get the Notifiable target of the notification from inside the notification itself.
Auth::user()->notify(
new TextNotification('Hi there!')
)
Now, I want to get the Notifiable instance (here is the User) inside the Notification's __construct. Does this object get passed to the notification at any point?
I know I can pass it to the notification class, but I am wondering if this is already done by Laravel.