diff options
author | Joas Schilling <nickvergessen@owncloud.com> | 2015-04-20 11:14:40 +0200 |
---|---|---|
committer | Joas Schilling <nickvergessen@owncloud.com> | 2015-04-27 11:03:51 +0200 |
commit | 5855d23ff9ab26f4fe22dd692595f908e60c9876 (patch) | |
tree | e3721775431425ab315154d3fca2c111cf401662 /lib/public/encryption | |
parent | d600955a51a9536ac9ebfa7198ef963679153740 (diff) | |
download | nextcloud-server-5855d23ff9ab26f4fe22dd692595f908e60c9876.tar.gz nextcloud-server-5855d23ff9ab26f4fe22dd692595f908e60c9876.zip |
Make methods explicit public
Diffstat (limited to 'lib/public/encryption')
-rw-r--r-- | lib/public/encryption/imanager.php | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/public/encryption/imanager.php b/lib/public/encryption/imanager.php index 3cb30f8ee89..0b12c7524d2 100644 --- a/lib/public/encryption/imanager.php +++ b/lib/public/encryption/imanager.php @@ -37,7 +37,7 @@ interface IManager { * @return bool true if enabled, false if not * @since 8.1.0 */ - function isEnabled(); + public function isEnabled(); /** * Registers an callback function which must return an encryption module instance @@ -48,7 +48,7 @@ interface IManager { * @throws ModuleAlreadyExistsException * @since 8.1.0 */ - function registerEncryptionModule($id, $displayName, callable $callback); + public function registerEncryptionModule($id, $displayName, callable $callback); /** * Unregisters an encryption module @@ -56,7 +56,7 @@ interface IManager { * @param string $moduleId * @since 8.1.0 */ - function unregisterEncryptionModule($moduleId); + public function unregisterEncryptionModule($moduleId); /** * get a list of all encryption modules @@ -64,18 +64,18 @@ interface IManager { * @return array [id => ['id' => $id, 'displayName' => $displayName, 'callback' => callback]] * @since 8.1.0 */ - function getEncryptionModules(); + public function getEncryptionModules(); /** * get a specific encryption module * - * @param string $moduleId + * @param string $moduleId Empty to get the default module * @return IEncryptionModule * @throws ModuleDoesNotExistsException * @since 8.1.0 */ - function getEncryptionModule($moduleId); + public function getEncryptionModule($moduleId = ''); /** * get default encryption module Id |