IGetHomeBackend.php 412 B

12345678910111213141516171819202122
  1. <?php
  2. declare(strict_types=1);
  3. /**
  4. * SPDX-FileCopyrightText: 2018 Nextcloud GmbH and Nextcloud contributors
  5. * SPDX-License-Identifier: AGPL-3.0-or-later
  6. */
  7. namespace OCP\User\Backend;
  8. /**
  9. * @since 14.0.0
  10. */
  11. interface IGetHomeBackend {
  12. /**
  13. * @since 14.0.0
  14. *
  15. * @param string $uid the username
  16. * @return string|bool Datadir on success false on failure
  17. */
  18. public function getHome(string $uid);
  19. }