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