aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/Share/IPublicShareTemplateFactory.php
blob: 1825c0c7dc6e7fce00ba86053d779612becce1c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<?php

declare(strict_types=1);
/**
 * SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors
 * SPDX-License-Identifier: AGPL-3.0-or-later
 */
namespace OCP\Share;

/**
 * @since 26.0.0
 */
interface IPublicShareTemplateFactory {
	/**
	 * Returns a provider that is willing to respond for given share.
	 * @since 26.0.0
	 */
	public function getProvider(IShare $share): IPublicShareTemplateProvider;
}