1
0

ISearchKnownUsersBackend.php 541 B

123456789101112131415161718192021222324
  1. <?php
  2. declare(strict_types=1);
  3. /**
  4. * SPDX-FileCopyrightText: 2021 Nextcloud GmbH and Nextcloud contributors
  5. * SPDX-License-Identifier: AGPL-3.0-or-later
  6. */
  7. namespace OCP\User\Backend;
  8. /**
  9. * @since 21.0.1
  10. */
  11. interface ISearchKnownUsersBackend {
  12. /**
  13. * @param string $searcher
  14. * @param string $pattern
  15. * @param int|null $limit
  16. * @param int|null $offset
  17. * @return array
  18. * @since 21.0.1
  19. */
  20. public function searchKnownUsersByDisplayName(string $searcher, string $pattern, ?int $limit = null, ?int $offset = null): array;
  21. }