IProviderWithId.php 409 B

1234567891011121314151617181920212223
  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. */
  13. interface IProviderWithId extends IProvider {
  14. /**
  15. * The id of this provider
  16. * @since 28.0.0
  17. */
  18. public function getId(): string;
  19. }