IProviderWithId.php 431 B

123456789101112131415161718192021222324
  1. <?php
  2. declare(strict_types=1);
  3. /**
  4. * SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors
  5. * SPDX-License-Identifier: AGPL-3.0-or-later
  6. */
  7. namespace OCP\TextProcessing;
  8. /**
  9. * @since 28.0.0
  10. * @extends IProvider<T>
  11. * @template T of ITaskType
  12. * @deprecated 30.0.0
  13. */
  14. interface IProviderWithId extends IProvider {
  15. /**
  16. * The id of this provider
  17. * @since 28.0.0
  18. */
  19. public function getId(): string;
  20. }