Files
crater/app/Providers/EventServiceProvider.php
Mohit Panjwani bdf2ba51d6 init crater
2019-11-11 12:16:00 +05:30

36 lines
779 B
PHP

<?php
namespace Laraspace\Providers;
use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider;
use Illuminate\Auth\Events\Registered;
use Illuminate\Auth\Listeners\SendEmailVerificationNotification;
class EventServiceProvider extends ServiceProvider
{
/**
* The event listener mappings for the application.
*
* @var array
*/
protected $listen = [
'Laraspace\Events\SomeEvent' => [
'Laraspace\Listeners\EventListener',
],
Registered::class => [
SendEmailVerificationNotification::class,
],
];
/**
* Register any events for your application.
*
* @return void
*/
public function boot()
{
parent::boot();
//
}
}