diff options
Diffstat (limited to 'lib/public/Translation/ITranslationProviderWithId.php')
-rw-r--r-- | lib/public/Translation/ITranslationProviderWithId.php | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/lib/public/Translation/ITranslationProviderWithId.php b/lib/public/Translation/ITranslationProviderWithId.php new file mode 100644 index 00000000000..93fc641ee02 --- /dev/null +++ b/lib/public/Translation/ITranslationProviderWithId.php @@ -0,0 +1,22 @@ +<?php + +declare(strict_types=1); + +/** + * SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors + * SPDX-License-Identifier: AGPL-3.0-or-later + */ + + +namespace OCP\Translation; + +/** + * @since 29.0.0 + * @deprecated 30.0.0 + */ +interface ITranslationProviderWithId extends ITranslationProvider { + /** + * @since 29.0.0 + */ + public function getId(): string; +} |