skip to Main Content

event and event listener laravel 11

I can't add constructor in my event listener.Laravel 11 there is no EventService provider also. I need an example for this public function handle(NewUserEvent $event): void { Mail::send('3_Emails.1_CommonMailTemplate', $mailData, function ($message) use ($Name, $Email) { $message->to($Email) ->subject("Contact | $Name") ->cc('[email protected]')…

VIEW QUESTION
Back To Top
Search