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:
Carl Schwan 2022-03-04 11:42:03 +01:00
parent 8a52591335
commit 831aebf4f6
2 changed files with 10 additions and 2 deletions

View file

@ -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
*/

View file

@ -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
*/