summaryrefslogtreecommitdiff
path: root/app/ServiceProvider/Event.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/ServiceProvider/Event.php')
-rw-r--r--app/ServiceProvider/Event.php15
1 files changed, 15 insertions, 0 deletions
diff --git a/app/ServiceProvider/Event.php b/app/ServiceProvider/Event.php
new file mode 100644
index 00000000..0436aa7b
--- /dev/null
+++ b/app/ServiceProvider/Event.php
@@ -0,0 +1,15 @@
+<?php
+
+namespace ServiceProvider;
+
+use Pimple\Container;
+use Pimple\ServiceProviderInterface;
+use Core\Event as EventDispatcher;
+
+class Event implements ServiceProviderInterface
+{
+ public function register(Container $container)
+ {
+ $container['event'] = new EventDispatcher;
+ }
+}