diff options
author | Carl Schwan <carl@carlschwan.eu> | 2022-03-04 11:42:03 +0100 |
---|---|---|
committer | Carl Schwan <carl@carlschwan.eu> | 2022-03-04 16:02:35 +0100 |
commit | 831aebf4f63835d0638d6cac656cd4bdcc863f31 (patch) | |
tree | ff06a7ea4b6a8025626dfab450d4ef76465fc191 /lib/public/Share | |
parent | 8a52591335f9fc8ac06002dea17705f860487b09 (diff) | |
download | nextcloud-server-831aebf4f63835d0638d6cac656cd4bdcc863f31.tar.gz nextcloud-server-831aebf4f63835d0638d6cac656cd4bdcc863f31.zip |
Clarify that some interface are not meant to be implemented
This make sure that apps don't implement this interfaces and gives us
more liberty to add new methods to them (as long as it is compatible
from an usage point of view)
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Co-authored-by: Vincent Petry <vincent@nextcloud.com>
Diffstat (limited to 'lib/public/Share')
-rw-r--r-- | lib/public/Share/IManager.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/public/Share/IManager.php b/lib/public/Share/IManager.php index 8b1f5144b9a..ff4b6af19e0 100644 --- a/lib/public/Share/IManager.php +++ b/lib/public/Share/IManager.php @@ -37,7 +37,11 @@ use OCP\Share\Exceptions\GenericShareException; use OCP\Share\Exceptions\ShareNotFound; /** - * Interface IManager + * This interface allows to manage sharing files between users and groups. + * + * This interface must not be implemented in your application but + * instead should be used as a service and injected in your code with + * dependency injection. * * @since 9.0.0 */ |