summaryrefslogtreecommitdiff
path: root/app/Providers/EventServiceProvider.php
diff options
context:
space:
mode:
authorMarvin Borner2018-12-05 17:31:36 +0100
committerMarvin Borner2018-12-05 17:31:36 +0100
commit9d1a810fa983a045294e6d0b8ad761f5dbfb8939 (patch)
tree46c8796cd6747b3746478b4e3b8b29226f588ddb /app/Providers/EventServiceProvider.php
Initial commit (actually already finished)
Diffstat (limited to 'app/Providers/EventServiceProvider.php')
-rw-r--r--app/Providers/EventServiceProvider.php34
1 files changed, 34 insertions, 0 deletions
diff --git a/app/Providers/EventServiceProvider.php b/app/Providers/EventServiceProvider.php
new file mode 100644
index 0000000..6c64e52
--- /dev/null
+++ b/app/Providers/EventServiceProvider.php
@@ -0,0 +1,34 @@
+<?php
+
+namespace App\Providers;
+
+use Illuminate\Support\Facades\Event;
+use Illuminate\Auth\Events\Registered;
+use Illuminate\Auth\Listeners\SendEmailVerificationNotification;
+use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider;
+
+class EventServiceProvider extends ServiceProvider
+{
+ /**
+ * The event listener mappings for the application.
+ *
+ * @var array
+ */
+ protected $listen = [
+ Registered::class => [
+ SendEmailVerificationNotification::class,
+ ],
+ ];
+
+ /**
+ * Register any events for your application.
+ *
+ * @return void
+ */
+ public function boot()
+ {
+ parent::boot();
+
+ //
+ }
+}