1
0

IGroupDetailsBackend.php 605 B

1234567891011121314151617181920212223242526
  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\Group\Backend;
  8. /**
  9. * @brief Optional interface for group backends
  10. * @since 14.0.0
  11. */
  12. interface IGroupDetailsBackend {
  13. /**
  14. * @brief Get additional details for a group, for example the display name.
  15. *
  16. * The array returned can be empty when no additional information is available
  17. * for the group.
  18. *
  19. * @return array{displayName?: string}
  20. * @since 14.0.0
  21. */
  22. public function getGroupDetails(string $gid): array;
  23. }