Am Working on laravel 9. I send notification using the notifiable trait and I wish to make some action only if the notification is.
How can I perform this!
thanks,
Am Working on laravel 9. I send notification using the notifiable trait and I wish to make some action only if the notification is.
How can I perform this!
thanks,
I think You can check using Notification::failure()
if (Notification::failure() > 0){
//your required function;
}