nextcloud/lib/public/Comments/ICommentsManagerFactory.php

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

37 lines
793 B
PHP
Raw Normal View History

<?php
2016-01-12 09:02:16 -05:00
/**
* SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors
* SPDX-FileCopyrightText: 2016 ownCloud, Inc.
* SPDX-License-Identifier: AGPL-3.0-only
2016-01-12 09:02:16 -05:00
*/
namespace OCP\Comments;
use OCP\IServerContainer;
/**
2015-12-04 04:57:31 -05:00
* Interface ICommentsManagerFactory
*
2015-12-04 04:57:31 -05:00
* This class is responsible for instantiating and returning an ICommentsManager
* instance.
*
* @since 9.0.0
*/
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
* @since 9.0.0
*/
public function getManager();
}