1
0

IHomeStorage.php 629 B

1234567891011121314151617181920212223242526272829
  1. <?php
  2. /**
  3. * SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors
  4. * SPDX-FileCopyrightText: 2016 ownCloud, Inc.
  5. * SPDX-License-Identifier: AGPL-3.0-only
  6. */
  7. // use OCP namespace for all classes that are considered public.
  8. // This means that they should be used by apps instead of the internal Nextcloud classes
  9. namespace OCP\Files;
  10. use OCP\Files\Storage\IStorage;
  11. use OCP\IUser;
  12. /**
  13. * Interface IHomeStorage
  14. *
  15. * @since 7.0.0
  16. */
  17. interface IHomeStorage extends IStorage {
  18. /**
  19. * Get the user for this home storage
  20. *
  21. * @return IUser
  22. * @since 28.0.0
  23. */
  24. public function getUser(): IUser;
  25. }