2023-10-24 12:41:24 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
declare(strict_types=1);
|
|
|
|
|
|
|
|
/**
|
2024-05-23 07:26:56 +00:00
|
|
|
* SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors
|
|
|
|
* SPDX-License-Identifier: AGPL-3.0-or-later
|
2023-10-24 12:41:24 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
namespace OCP\TextProcessing;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @since 28.0.0
|
2023-11-08 15:58:31 +00:00
|
|
|
* @extends IProvider<T>
|
|
|
|
* @template T of ITaskType
|
2024-07-26 09:20:46 +00:00
|
|
|
* @deprecated 30.0.0
|
2023-10-24 12:41:24 +00:00
|
|
|
*/
|
|
|
|
interface IProviderWithId extends IProvider {
|
|
|
|
/**
|
|
|
|
* The id of this provider
|
|
|
|
* @since 28.0.0
|
|
|
|
*/
|
|
|
|
public function getId(): string;
|
|
|
|
}
|