From 9e65f40d1bb5ac4c5d5ea273c13dae7a8ec6825f Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Mon, 27 May 2013 20:20:06 +0200 Subject: [PATCH] Add PublicEmitter class --- lib/hooks/publicemitter.php | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 lib/hooks/publicemitter.php diff --git a/lib/hooks/publicemitter.php b/lib/hooks/publicemitter.php new file mode 100644 index 0000000000..e2371713ac --- /dev/null +++ b/lib/hooks/publicemitter.php @@ -0,0 +1,20 @@ + + * 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); + } +}