0
0
Fork 0
mirror of https://github.com/nextcloud/server.git synced 2025-01-31 06:43:12 +00:00
nextcloud_server/lib/public/Collaboration/AutoComplete/IManager.php
Joas Schilling 0af0bf3d42
fix(autocomplete): Move known array keys to psalm docs
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-09-18 11:40:45 +02:00

27 lines
771 B
PHP
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?php
/**
* SPDX-FileCopyrightText: 2017 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
namespace OCP\Collaboration\AutoComplete;
/**
* Interface IManager
*
* @since 13.0.0
*/
interface IManager {
/**
* @param string $className class name of the ISorter implementation
* @since 13.0.0
*/
public function registerSorter($className);
/**
* @param array $sorters list of sorter IDs, separated by "|"
* @param array $sortArray array representation of OCP\Collaboration\Collaborators\ISearchResult
* @param array{itemType: string, itemId: string, search?: string} $context context info of the search
* @since 13.0.0
*/
public function runSorters(array $sorters, array &$sortArray, array $context);
}