aboutsummaryrefslogtreecommitdiffhomepage
path: root/main/app/system/SlimAppEvent.php
diff options
context:
space:
mode:
authormarvin-borner@live.com2018-04-16 21:09:05 +0200
committermarvin-borner@live.com2018-04-16 21:09:05 +0200
commitcf14306c2b3f82a81f8d56669a71633b4d4b5fce (patch)
tree86700651aa180026e89a66064b0364b1e4346f3f /main/app/system/SlimAppEvent.php
parent619b01b3615458c4ed78bfaeabb6b1a47cc8ad8b (diff)
Main merge to user management system - files are now at /main/public/
Diffstat (limited to 'main/app/system/SlimAppEvent.php')
-rwxr-xr-xmain/app/system/SlimAppEvent.php29
1 files changed, 29 insertions, 0 deletions
diff --git a/main/app/system/SlimAppEvent.php b/main/app/system/SlimAppEvent.php
new file mode 100755
index 0000000..f1217a5
--- /dev/null
+++ b/main/app/system/SlimAppEvent.php
@@ -0,0 +1,29 @@
+<?php
+/**
+ * UserFrosting (http://www.userfrosting.com)
+ *
+ * @link https://github.com/userfrosting/UserFrosting
+ * @license https://github.com/userfrosting/UserFrosting/blob/master/licenses/UserFrosting.md (MIT License)
+ */
+namespace UserFrosting\System;
+
+use RocketTheme\Toolbox\Event\Event;
+use Slim\App;
+
+/**
+ * Used for events that need to access the Slim application.
+ */
+class SlimAppEvent extends Event
+{
+ protected $app;
+
+ public function __construct(App $app)
+ {
+ $this->app = $app;
+ }
+
+ public function getApp()
+ {
+ return $this->app;
+ }
+}