-
-
Save uno-de-piera/903c8773dba248e559518d42ad10e6df to your computer and use it in GitHub Desktop.
This file contains 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
<?php | |
Route::get('notify', function () { | |
$user = \App\User::find(1); | |
$user->notify(new \App\Notifications\NewNotification()); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment