diff options
author | Robin Appelman <icewind@owncloud.com> | 2013-05-27 20:20:06 +0200 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2013-05-27 20:20:06 +0200 |
commit | 9e65f40d1bb5ac4c5d5ea273c13dae7a8ec6825f (patch) | |
tree | 6b508e88bfeab5d420e8d80d9d120b6467d6a076 /lib/hooks | |
parent | 4c05259ccfbb7e2f0083794172eaa7c06f4b2592 (diff) | |
download | nextcloud-server-9e65f40d1bb5ac4c5d5ea273c13dae7a8ec6825f.tar.gz nextcloud-server-9e65f40d1bb5ac4c5d5ea273c13dae7a8ec6825f.zip |
Add PublicEmitter class
Diffstat (limited to 'lib/hooks')
-rw-r--r-- | lib/hooks/publicemitter.php | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/lib/hooks/publicemitter.php b/lib/hooks/publicemitter.php new file mode 100644 index 00000000000..e2371713ac3 --- /dev/null +++ b/lib/hooks/publicemitter.php @@ -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); + } +} |