diff options
Diffstat (limited to 'lib/public')
-rw-r--r-- | lib/public/Files/Storage/ISharedStorage.php | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/lib/public/Files/Storage/ISharedStorage.php b/lib/public/Files/Storage/ISharedStorage.php new file mode 100644 index 00000000000..836c4aefcdb --- /dev/null +++ b/lib/public/Files/Storage/ISharedStorage.php @@ -0,0 +1,26 @@ +<?php + +declare(strict_types=1); + +/** + * SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors + * SPDX-License-Identifier: AGPL-3.0-or-later + */ +namespace OCP\Files\Storage; + +use OCP\Share\IShare; + +/** + * Interface for a storage that is based on a file share + * + * @since 30.0.0 + */ +interface ISharedStorage extends IStorage { + /** + * The the associated share + * + * @return IShare + * @since 30.0.0 + */ + public function getShare(): IShare; +} |