Skip to content

Instantly share code, notes, and snippets.

@cursosdesarrolloweb
Created July 22, 2021 17:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cursosdesarrolloweb/5e89aee32bc5c1d33bfc9a8ef4f9c8f0 to your computer and use it in GitHub Desktop.
Save cursosdesarrolloweb/5e89aee32bc5c1d33bfc9a8ef4f9c8f0 to your computer and use it in GitHub Desktop.
<?php
namespace App\Providers;
use App\Events\NewOrder;
use Illuminate\Auth\Events\Registered;
use Illuminate\Auth\Listeners\SendEmailVerificationNotification;
use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider;
use Illuminate\Support\Facades\Event;
class EventServiceProvider extends ServiceProvider
{
/**
* The event listener mappings for the application.
*
* @var array
*/
protected $listen = [
Registered::class => [
SendEmailVerificationNotification::class,
],
NewOrder::class => [
],
];
/**
* Register any events for your application.
*
* @return void
*/
public function boot()
{
//
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment