ISharedStorage.php 443 B

12345678910111213141516171819202122232425
  1. <?php
  2. declare(strict_types=1);
  3. /**
  4. * SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors
  5. * SPDX-License-Identifier: AGPL-3.0-or-later
  6. */
  7. namespace OCP\Files\Storage;
  8. use OCP\Share\IShare;
  9. /**
  10. * Interface for a storage that is based on a file share
  11. *
  12. * @since 30.0.0
  13. */
  14. interface ISharedStorage extends IStorage {
  15. /**
  16. * The the associated share
  17. *
  18. * @since 30.0.0
  19. */
  20. public function getShare(): IShare;
  21. }