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