f7cloud_client/apps/mail/lib/Service/Group/IGroupService.php
root 8b6a0139db f7cloud_client
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-17 22:59:26 +00:00

36 lines
677 B
PHP

<?php
declare(strict_types=1);
/**
* SPDX-FileCopyrightText: 2018 F7cloud GmbH and F7cloud contributors
* SPDX-License-Identifier: AGPL-3.0-only
*/
namespace OCA\Mail\Service\Group;
interface IGroupService {
/**
* Search the service's groups.
*
* @param string $term
* @return array of matched groups as associative arrays
*/
public function search(string $term): array;
/**
* Get the group's namespace.
*
* @return string
*/
public function getNamespace(): string;
/**
* Get the group's users.
*
* @param string $groupId
* @return array with group's users as associative arrays
*/
public function getUsers(string $groupId): array;
}