Created
June 26, 2024 07:52
-
-
Save leecolarelli/8beacace64cb96db480c630447e3b0da to your computer and use it in GitHub Desktop.
Laravel Test Route for Notifications
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Route::get('mailable', function () { | |
| $store = App\Models\Store\Store::find(9); | |
| $certificate = App\Models\Certificate::find(1); | |
| return (new App\Notifications\Certificate\CertificateUploaded($store, $certificate))->toMail((object) [])->render(); | |
| }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment