]> source.dussan.org Git - nextcloud-server.git/commitdiff
Add PublicEmitter class
authorRobin Appelman <icewind@owncloud.com>
Mon, 27 May 2013 18:20:06 +0000 (20:20 +0200)
committerRobin Appelman <icewind@owncloud.com>
Mon, 27 May 2013 18:20:06 +0000 (20:20 +0200)
lib/hooks/publicemitter.php [new file with mode: 0644]

diff --git a/lib/hooks/publicemitter.php b/lib/hooks/publicemitter.php
new file mode 100644 (file)
index 0000000..e237171
--- /dev/null
@@ -0,0 +1,20 @@
+<?php
+/**
+ * Copyright (c) 2013 Robin Appelman <icewind@owncloud.com>
+ * This file is licensed under the Affero General Public License version 3 or
+ * later.
+ * See the COPYING-README file.
+ */
+
+namespace OC\Hooks;
+
+class PublicEmitter extends BasicEmitter {
+       /**
+        * @param string $scope
+        * @param string $method
+        * @param array $arguments optional
+        */
+       public function emit($scope, $method, $arguments = array()) {
+               parent::emit($scope, $method, $arguments);
+       }
+}