mirror of
https://github.com/nextcloud/server.git
synced 2026-04-21 14:23:17 -04:00
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>
This commit is contained in:
parent
8a52591335
commit
831aebf4f6
2 changed files with 10 additions and 2 deletions
|
|
@ -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
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -26,7 +26,11 @@ declare(strict_types=1);
|
|||
namespace OCP\UserStatus;
|
||||
|
||||
/**
|
||||
* Interface IManager
|
||||
* This interface allows to manage the user status.
|
||||
*
|
||||
* 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 20.0.0
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in a new issue