aboutsummaryrefslogtreecommitdiff
path: root/app/Listeners
diff options
context:
space:
mode:
authorCamil Staps2016-01-22 12:01:33 +0100
committerCamil Staps2016-01-22 12:01:33 +0100
commit3a74377e861c1a401f1dffbd595f547e04eb72c8 (patch)
tree505649f58784ed0e318cb46f28777173bcdc6b90 /app/Listeners
Initial commitlumen-app
Diffstat (limited to 'app/Listeners')
-rw-r--r--app/Listeners/ExampleListener.php31
1 files changed, 31 insertions, 0 deletions
diff --git a/app/Listeners/ExampleListener.php b/app/Listeners/ExampleListener.php
new file mode 100644
index 0000000..77fc6a8
--- /dev/null
+++ b/app/Listeners/ExampleListener.php
@@ -0,0 +1,31 @@
+<?php
+
+namespace App\Listeners;
+
+use App\Events\ExampleEvent;
+use Illuminate\Queue\InteractsWithQueue;
+use Illuminate\Contracts\Queue\ShouldQueue;
+
+class ExampleListener
+{
+ /**
+ * Create the event listener.
+ *
+ * @return void
+ */
+ public function __construct()
+ {
+ //
+ }
+
+ /**
+ * Handle the event.
+ *
+ * @param ExampleEvent $event
+ * @return void
+ */
+ public function handle(ExampleEvent $event)
+ {
+ //
+ }
+}