1
0

ITranslationProviderWithUserId.php 467 B

1234567891011121314151617181920212223
  1. <?php
  2. declare(strict_types=1);
  3. /**
  4. * SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors
  5. * SPDX-License-Identifier: AGPL-3.0-or-later
  6. */
  7. namespace OCP\Translation;
  8. /**
  9. * @since 29.0.0
  10. * @deprecated 30.0.0
  11. */
  12. interface ITranslationProviderWithUserId extends ITranslationProvider {
  13. /**
  14. * @param string|null $userId The userId of the user requesting the current task
  15. * @since 29.0.0
  16. */
  17. public function setUserId(?string $userId);
  18. }