Skip to content

Commit

Permalink
RFC: Clarify that some interface are not meant to be implemented
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
CarlSchwan and PVince81 committed Mar 4, 2022
1 parent 8a52591 commit 58410b7
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
6 changes: 5 additions & 1 deletion lib/public/Share/IManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,11 @@
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
*/
Expand Down
6 changes: 5 additions & 1 deletion lib/public/UserStatus/IManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,11 @@
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
*/
Expand Down

0 comments on commit 58410b7

Please sign in to comment.