Created
December 8, 2022 15:03
-
-
Save ratulcse10/55f759ebf0a19a8aa1269327539d8b9a to your computer and use it in GitHub Desktop.
laravel event listeners
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
protected $listen = [ | |
Registered::class => [ | |
SendEmailVerificationNotification::class, | |
], | |
'App\Events\LoginEvent' => [ | |
'App\Listeners\CreateNewProduct', | |
'App\Listeners\CreateAnotherNewProduct', | |
] | |
]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment