diff options
author | Vincent Petry <pvince81@owncloud.com> | 2016-01-19 16:17:49 +0100 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2016-01-20 16:36:10 +0100 |
commit | 899f9bd113304d77b865653768450f6013824553 (patch) | |
tree | 9861ca8e2d64e9dc373a330f7342b424172cbeb1 /lib/public/comments | |
parent | dd733d89256e0a2d1f7f4f96ac46b5a7bfbff984 (diff) | |
download | nextcloud-server-899f9bd113304d77b865653768450f6013824553.tar.gz nextcloud-server-899f9bd113304d77b865653768450f6013824553.zip |
Allow custom implementation of system tag managers
Added config.php option to replace the default implementation of system
tag manager and system tag object mapper.
Also adjusted the comments manager factory to inject the server container
Diffstat (limited to 'lib/public/comments')
-rw-r--r-- | lib/public/comments/icommentsmanagerfactory.php | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/public/comments/icommentsmanagerfactory.php b/lib/public/comments/icommentsmanagerfactory.php index 03a2b16b310..2e71719019c 100644 --- a/lib/public/comments/icommentsmanagerfactory.php +++ b/lib/public/comments/icommentsmanagerfactory.php @@ -20,6 +20,8 @@ */ namespace OCP\Comments; +use OCP\IServerContainer; + /** * Interface ICommentsManagerFactory * @@ -32,6 +34,14 @@ namespace OCP\Comments; interface ICommentsManagerFactory { /** + * Constructor for the comments manager factory + * + * @param IServerContainer $serverContainer server container + * @since 9.0.0 + */ + public function __construct(IServerContainer $serverContainer); + + /** * creates and returns an instance of the ICommentsManager * * @return ICommentsManager |