I am trying to send the explicit via Email
only using the notification class where it is configured for both ['mail', 'database']
Notification::route('mail', $shopadmin->email)->notify(new ShopadminCreated($model));
But it still goes into toArray()
method and generates error.
The reason is, I am using the same class to renotify using email but this time no database entry need to be created.