Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support array returning from routeNotificationForMail #19

Merged
merged 3 commits into from
Dec 13, 2023

Conversation

aozisik
Copy link
Contributor

@aozisik aozisik commented Dec 13, 2023

routeNotificationForMail can also return an array, where the array key is the email address and the value is the name.

This PR introduces support for this usage, and adds tests for it.

https://laravel.com/docs/10.x/notifications#customizing-the-recipient

Also related: #18

@aozisik aozisik merged commit 48cee97 into main Dec 13, 2023
11 checks passed
@aozisik aozisik deleted the support-returning-to-as-array branch December 13, 2023 14:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant