nextcloud/lib/public/Files/Config/IMountProvider.php
Carl Schwan 3581577aec
refactor(mount-provider): Refactor share mount provider
- Add more precise types
- Remove dead code

Signed-off-by: Carl Schwan <carlschwan@kde.org>
2026-02-03 16:00:35 +01:00

26 lines
547 B
PHP

<?php
/**
* SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors
* SPDX-FileCopyrightText: 2016 ownCloud, Inc.
* SPDX-License-Identifier: AGPL-3.0-only
*/
namespace OCP\Files\Config;
use OCP\Files\Mount\IMountPoint;
use OCP\Files\Storage\IStorageFactory;
use OCP\IUser;
/**
* Provides
* @since 8.0.0
*/
interface IMountProvider {
/**
* Get all mountpoints applicable for the user
*
* @return list<IMountPoint>
* @since 8.0.0
*/
public function getMountsForUser(IUser $user, IStorageFactory $loader);
}