nextcloud/lib/unstable/FullTextSearch/IContentProvider.php
Maxence Lange 0294117308 feat(fulltextsearch): new API
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2025-11-24 15:59:08 -01:00

20 lines
464 B
PHP

<?php
declare(strict_types=1);
/**
* SPDX-FileCopyrightText: 2025 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
namespace NCU\FullTextSearch;
use NCU\FullTextSearch\Model\Document;
interface IContentProvider {
public function getId(): string;
public function getConfiguration(): array;
// public function setIndexOptions(IIndexOptions $options);
public function getDocument(string $documentId): ?Document;
}