summaryrefslogtreecommitdiff
path: root/app/Events
diff options
context:
space:
mode:
Diffstat (limited to 'app/Events')
-rw-r--r--app/Events/Event.php10
-rw-r--r--app/Events/ExampleEvent.php16
2 files changed, 26 insertions, 0 deletions
diff --git a/app/Events/Event.php b/app/Events/Event.php
new file mode 100644
index 0000000..b8230f0
--- /dev/null
+++ b/app/Events/Event.php
@@ -0,0 +1,10 @@
+<?php
+
+namespace App\Events;
+
+use Illuminate\Queue\SerializesModels;
+
+abstract class Event
+{
+ use SerializesModels;
+}
diff --git a/app/Events/ExampleEvent.php b/app/Events/ExampleEvent.php
new file mode 100644
index 0000000..4bd1268
--- /dev/null
+++ b/app/Events/ExampleEvent.php
@@ -0,0 +1,16 @@
+<?php
+
+namespace App\Events;
+
+class ExampleEvent extends Event
+{
+ /**
+ * Create a new event instance.
+ *
+ * @return void
+ */
+ public function __construct()
+ {
+ //
+ }
+}