Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
[5.5] Add `notifyNow` shortcut to `AnonymousNotifiable` #22530
This allows you to do:
Notification::route('mail', 'firstname.lastname@example.org') ->notifyNow(new UserNotification($message));
Very useful for making sure a notification gets sent immediately (for testing notifications).
Not sure where and if to add tests... any directions for this are appreciated!
(FWIW: I did test it in a application ofcourse