Skip to content

Instantly share code, notes, and snippets.

@ratulcse10
Created December 8, 2022 15:03
Show Gist options
  • Save ratulcse10/55f759ebf0a19a8aa1269327539d8b9a to your computer and use it in GitHub Desktop.
Save ratulcse10/55f759ebf0a19a8aa1269327539d8b9a to your computer and use it in GitHub Desktop.

Revisions

  1. ratulcse10 created this gist Dec 8, 2022.
    9 changes: 9 additions & 0 deletions eventregister.php
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,9 @@
    protected $listen = [
    Registered::class => [
    SendEmailVerificationNotification::class,
    ],
    'App\Events\LoginEvent' => [
    'App\Listeners\CreateNewProduct',
    'App\Listeners\CreateAnotherNewProduct',
    ]
    ];