aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/Collaboration/Resources/IProviderManager.php
blob: 2f5a652dcefe8ead5de1091eab41860935461037 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<?php

declare(strict_types=1);

/**
 * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors
 * SPDX-License-Identifier: AGPL-3.0-or-later
 */
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;
}