aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/Share/IShareProviderSupportsAllSharesInFolder.php
blob: e27da7682ce276eab70c3c3e54585770cb89c005 (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
<?php

/**
 * SPDX-FileCopyrightText: 2025 Nextcloud GmbH and Nextcloud contributors
 * SPDX-License-Identifier: AGPL-3.0-or-later
 */
namespace OCP\Share;

use OCP\Files\Folder;

/**
 * Allows defining a IShareProvider with support for the getAllSharesInFolder method.
 *
 * @since 32.0.0
 */
interface IShareProviderSupportsAllSharesInFolder extends IShareProvider {
	/**
	 * Get all shares in a folder.
	 *
	 * @return array<int, list<IShare>>
	 * @since 32.0.0
	 */
	public function getAllSharesInFolder(Folder $node): array;
}