2019-09-29 18:57:00 +00:00
|
|
|
<?php
|
2019-12-19 12:16:31 +00:00
|
|
|
|
2019-09-29 18:57:00 +00:00
|
|
|
declare(strict_types=1);
|
2019-12-19 12:16:31 +00:00
|
|
|
|
2019-09-29 18:57:00 +00:00
|
|
|
/**
|
2024-05-23 07:26:56 +00:00
|
|
|
* SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors
|
|
|
|
* SPDX-License-Identifier: AGPL-3.0-or-later
|
2019-09-29 18:57:00 +00:00
|
|
|
*/
|
|
|
|
namespace OCP\Collaboration\Resources;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @since 18.0.0
|
|
|
|
*/
|
|
|
|
interface IProviderManager {
|
|
|
|
/**
|
|
|
|
* @return IProvider[] list of resource providers
|
|
|
|
* @since 18.0.0
|
|
|
|
*/
|
|
|
|
public function getResourceProviders(): array;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @param string $provider provider's class name
|
|
|
|
* @since 18.0.0
|
|
|
|
*/
|
|
|
|
public function registerResourceProvider(string $provider): void;
|
|
|
|
}
|